Skip to content

Commit

Permalink
Mapping - return NULL if compiled with DIET
Browse files Browse the repository at this point in the history
  • Loading branch information
XVilka committed May 26, 2024
1 parent fe60b13 commit 2ff5c99
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Mapping.c
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,8 @@ const void *map_get_suppl_info(MCInst *MI, const insn_map *imap)

unsigned Opcode = MCInst_getOpcode(MI);
return &imap[Opcode].suppl_info;
#else
return NULL;
#endif // CAPSTONE_DIET
}

Expand Down

0 comments on commit 2ff5c99

Please sign in to comment.