Skip to content

Commit

Permalink
Add IDA types
Browse files Browse the repository at this point in the history
  • Loading branch information
Schamper committed Jan 9, 2024
1 parent a25e25a commit 6a6e9e6
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions dissect/cstruct/cstruct.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,13 @@ def __init__(self, endian: str = "<", pointer: Optional[str] = None):
"uint128_t": "uint128",
"unsigned __int128": "uint128",

# IDA types
"_BYTE": "uint8",
"_WORD": "uint16",
"_DWORD": "uint32",
"_QWORD": "uint64",
"_OWORD": "uint128",

# Other convenience types
"u1": "uint8",
"u2": "uint16",
Expand Down

0 comments on commit 6a6e9e6

Please sign in to comment.