Last active
December 7, 2022 00:27
-
-
Save alexander-hanel/769f5fc6d95cf05cfcfe2e33380e21ad to your computer and use it in GitHub Desktop.
idapython add enum example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
id = add_enum(-1, "neutrino_cmds", idaapi.decflag()) | |
idc.add_enum_member(id, "CMD_LOADER", 0X69CDCD5D, -1) | |
idc.add_enum_member(id, "CMD_CMD", 0x796cd5b4, -1) | |
idc.add_enum_member(id, "CMD_RATE", 0xae839a18, -1 |
Author
alexander-hanel
commented
Nov 16, 2020
•
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment