summaryrefslogtreecommitdiff
path: root/binaryninjaapi.h
diff options
context:
space:
mode:
authorkat <kat@vector35.com>2024-02-10 14:59:50 -0500
committerkat <kat@vector35.com>2024-02-10 15:20:37 -0500
commitddce31c8d62c7ce0a385e5af65b0134c56e3b6c8 (patch)
tree9dfa07ca14f62806bdb97d8c31866b023aa1a9a2 /binaryninjaapi.h
parent5454781534812279765047823519504338550434 (diff)
Use TypeID for serializing enum types, replace set_int_enum_display_typeid with set_int_display_type, add get_int_display_type_and_typeid, bump ABI
Diffstat (limited to 'binaryninjaapi.h')
-rw-r--r--binaryninjaapi.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/binaryninjaapi.h b/binaryninjaapi.h
index bf3cc5ad..39a0be59 100644
--- a/binaryninjaapi.h
+++ b/binaryninjaapi.h
@@ -10447,13 +10447,11 @@ namespace BinaryNinja {
BNIntegerDisplayType GetIntegerConstantDisplayType(
Architecture* arch, uint64_t instrAddr, uint64_t value, size_t operand);
- void SetIntegerConstantDisplayType(
- Architecture* arch, uint64_t instrAddr, uint64_t value, size_t operand, BNIntegerDisplayType type);
-
Ref<Type> GetIntegerConstantDisplayTypeEnumType(
Architecture* arch, uint64_t instrAddr, uint64_t value, size_t operand);
- void SetIntegerConstantDisplayTypeEnumType(
- Architecture* arch, uint64_t instrAddr, uint64_t value, size_t operand, Ref<Type> type);
+ void SetIntegerConstantDisplayType(
+ Architecture* arch, uint64_t instrAddr, uint64_t value, size_t operand, BNIntegerDisplayType type, Ref<Type> enumType = nullptr);
+ std::pair<BNIntegerDisplayType, Ref<Type>> GetIntegerConstantDisplayTypeAndEnumType(Architecture* arch, uint64_t instrAddr, uint64_t value, size_t operand);
BNHighlightColor GetInstructionHighlight(Architecture* arch, uint64_t addr);
void SetAutoInstructionHighlight(Architecture* arch, uint64_t addr, BNHighlightColor color);