|
PrerequisitesJavaCC / JJTree
Download: https://javacc.dev.java.net/ JavaCC/JJTree converts an abstract syntax tree into source code that can parse and build Java objects based on the syntax tree. DOC does not know how to disassemble x86 files. Instead, it expects the input to be disassembled beforehand. DOC supports files disassembled with either Objdump or OllyDbg, however I recommend you use OllyDbg since I've done a lot more testing using OllyDbg. The process of creating the parsing code is as follows:
To update the abstract syntax tree, you must edit the file Any time the x86.jjt file is modified, it must be processed by JJTree and JavaCC. To assist
with this, I've created a batch file called makeparser.bat. Simpley run makeparser.bat
(with the JJTree directory on the system path). To make things easier, add |