https://github.com/islipnot/autostruct
Automatically converts and aligns the layouts of structs and enums between C++ and IDA.
https://github.com/islipnot/autostruct
cpp ida ida-pro reverse-engineering
Last synced: 12 months ago
JSON representation
Automatically converts and aligns the layouts of structs and enums between C++ and IDA.
- Host: GitHub
- URL: https://github.com/islipnot/autostruct
- Owner: islipnot
- Created: 2024-10-04T03:33:01.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-11-30T03:21:18.000Z (over 1 year ago)
- Last Synced: 2025-03-27T09:21:40.752Z (about 1 year ago)
- Topics: cpp, ida, ida-pro, reverse-engineering
- Language: C++
- Homepage:
- Size: 272 KB
- Stars: 3
- Watchers: 1
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# AutoStruct
Automatic alignment and syntax conversion of IDA/C++ enums and structs.
# Usage
- Argument format: <FilePath> <Flags>
- FilePath must be the path of a file containing the struct/enum that you want to make changes to, with nothing else in the file. This may change in the future to allow the search of a file for an enum/struct.
- The type of structure will automatically be detected, and alignment/conversion will be applied.
- If you do something especially weird like put a multiline comment before a member on the same line, it will probably break.
### Flags (Case-Insensitive)
- "Convert": Formats struct/enum typedefs for IDA, so that they can be inserted into IDA local types all at once.
- "Rws": Removes empty lines (rws = remove whitespace).
- "Hex": Converts all decimal to hexidecimal.
## Screenshots



