produce_c_file

summary: produce C listing for the entire file

description:

automate IDA to perform auto-analysis on a file and, once that is done, produce a .c file containing the decompilation of all the functions in that file.

Run like so:

ida -A “-S…path/to/produce_c_file.py” <binary-file>

where:

  • -A instructs IDA to run in non-interactive mode

  • -S holds a path to the script to run (note this is a single token;

    there is no space between ‘-S’ and its path.)

level: beginner

Attributes

idb_path

c_path

Module Contents

produce_c_file.idb_path
produce_c_file.c_path