ampotos / dynStruct

Reverse engineering tool for automatic structure recovering and memory use analysis based on DynamoRIO and Capstone
MIT License
314 stars 34 forks source link

Data gatherer optimizations #7

Open ampotos opened 8 years ago

ampotos commented 8 years ago

There is some idea to optimize the data gatherer

The output buffering is mainly for the Json ouput (because the console output may disappear soon). For the inlining of the instrumentations this may require some refactoring or may not be possible. Some research are needed on that.

ampotos commented 7 years ago

Output buffering done in https://github.com/ampotos/dynStruct/commit/c30affa4c3688413480ffb10434bdf599ea5719b

ampotos commented 7 years ago

The buffering have an issue on my setup when analizing xterm. It look like a part of the json data is not wirtten. The same test work well on a test vm. Buffering is disable until a fix is pushed.

ampotos commented 7 years ago

The buffering is reactivated but the bug is still present (the old verison of the maccro using dr_fprintf directly is commented to allow quick fix if needed).