xoreaxeaxeax / sandsifter

The x86 processor fuzzer
BSD 3-Clause "New" or "Revised" License
4.89k stars 350 forks source link

summarizer does not properly write temporary files to forward to disassemblers #48

Open PlasmaHH opened 7 years ago

PlasmaHH commented 7 years ago

When the summarizer writes data into temporary files for the disassembler, the disassembler sees 0 byte files. Adding a temp_file.flush() after the write in disassemble fixes this issue for me, at least for ndisasm

rigred commented 6 years ago

Thanks for posting this. I will have a look at it.