Skip to content

Latest commit

 

History

History
46 lines (30 loc) · 1.2 KB

File metadata and controls

46 lines (30 loc) · 1.2 KB

IDA Helper scripts

My help scripts for ida and disassembling

  • headerStructToCe
  • funcOutRecurse

headerStructToCe

Using for export structs from ida to Cheat Engine

How to use:

  1. In IDA window Local Types select all structs that you need
  2. Copy all from structs view
  3. paste it in any file (example.h)
  4. And run python3 headerStructsToCe.py
headerStructsToCe.py [-h] [-o OUTPUT] [--ptr-size {4,8}] [--int-display {unsigned,signed,hex}] input

Generates Cheat Engine .csx from ida structs.

positional arguments:
  input                 Input file

options:
  -h, --help            							show this help message and exit
  -o OUTPUT, --output OUTPUT                        Where generate output for CE (Default stdout)
  --ptr-size {4,8}      							Size of void*(x64 or x86)
  --int-display {unsigned,signed,hex}				How to display integers in CE

funcOutRecurse

Im using it for copy all functions body that uses some main function recursively, in example for gpt prompt.

How to use:

  1. Open IDA, and go to your function start addr in disasm or decompiler window
  2. File->Script file...
  3. Locate this script
  4. In the window you could enter addr, or leave at as is.
  5. Locate the output file