dcc icon indicating copy to clipboard operation
dcc copied to clipboard

Create dcc crash finder script (rb/py/sh?)

Open nemerle opened this issue 8 years ago • 2 comments

If dcc crashes on any function during decompilation it's hard to locate the offending function, and even harder to debug the whole state of decompiled executable.

Task: create a script that given a FILENAME will:

  • run dcc -a1 FILENAME
  • extract all functions from produced FILENAME.a1
  • extract function offsets from their names proc_001234_1 -> 0x1234
  • for each function runs dcc -E FUNCTION_OFFSET FILENAME
  • reports dcc crashes in a FILENAME_CRASHES.txt containing a full command-line to reproduce the crash

nemerle avatar Apr 25 '16 23:04 nemerle

It will be better to add more output for VeryVerbose mode. For example, printing IP.

lab313ru avatar Apr 26 '16 07:04 lab313ru

Well, the list of functions has to be built beforehand and dumping the names of all functions from DccProject object can work. Te script will need to be written though

nemerle avatar Apr 26 '16 07:04 nemerle