summaryrefslogtreecommitdiff
path: root/binaryninjaapi.h
diff options
context:
space:
mode:
authorkat <kat@vector35.com>2023-01-06 12:24:21 -0500
committerkat <kat@vector35.com>2023-01-10 08:20:54 -0500
commit64d041d11ddd2062166f79636389544ccffa422a (patch)
tree41a8853e50bddb5e21e5ad4666e806760d0a9299 /binaryninjaapi.h
parentc14db13ccfedf2e4f5e1fed02bd2217bebe7f1e2 (diff)
Integrate Enum IntegerDisplayType, Add MetadataChoiceDialog
Diffstat (limited to 'binaryninjaapi.h')
-rw-r--r--binaryninjaapi.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/binaryninjaapi.h b/binaryninjaapi.h
index 9300a478..3d5dba21 100644
--- a/binaryninjaapi.h
+++ b/binaryninjaapi.h
@@ -7517,6 +7517,7 @@ namespace BinaryNinja {
public:
Enumeration(BNEnumeration* e);
+ std::vector<InstructionTextToken> GetTokensForValue(uint64_t value, size_t width);
std::vector<EnumerationMember> GetMembers() const;
};
@@ -8729,6 +8730,11 @@ namespace BinaryNinja {
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);
+
BNHighlightColor GetInstructionHighlight(Architecture* arch, uint64_t addr);
void SetAutoInstructionHighlight(Architecture* arch, uint64_t addr, BNHighlightColor color);
void SetAutoInstructionHighlight(