To build it, just remove the previously compiled xmllint and recompile it. This is useful when the fuzzed routine is reentrant but, for example, has memory leaks and so we want to restore the target after a fixed number of executions to avoid filling the heap with useless allocated memory. The number 10000 tells that after 10000 runs with fuzzed inputs generated by AFL++ the harness has to fork and reset the state of the target. Each fuzzing iteration, instead of to fork and re-execute the target with a different input, is just an execution of this loop. _AFL_LOOP is the way that we have to tell AFL++ that we want persistent mode. As you can see, I created a new main function that loops around that function. In this case, I choose parseAndPrintFile, the main parsing routine called from the xmllint main. Na verdade, é possível fazer isto em 5 minutos. É bem fácil pôr no ar um PC ou servidor virtual completo, usando o QEMU. E sempre clique nos links para obter mais informações importantes sobre algum tema. +++ -3102,8 +3102,19 static void deregisterNode(xmlNodePtr node) Se quiser, veja outros exemplos de virtualização com o QEMU, neste mesmo site.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |