summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrollsafe <rollsafe@users.noreply.github.com>2019-08-16 12:56:07 -0400
committerStephen Tong <rollsafe@users.noreply.github.com>2019-11-24 19:16:36 -0500
commitfff324f4fa1cc28bebaf73d55ef24f106a1ce83a (patch)
treea98dbe5f94cb1dd1bda46695b6634e9f052bf72a
parent30ec04788bf661e3fcba4efe212deca7f610cddc (diff)
Add signature matcher library functions to Feature Map
-rw-r--r--binaryninjacore.h3
-rw-r--r--ui/symbollist.h2
-rw-r--r--ui/theme.h3
3 files changed, 5 insertions, 3 deletions
diff --git a/binaryninjacore.h b/binaryninjacore.h
index 7f6b725f..e1aa78e4 100644
--- a/binaryninjacore.h
+++ b/binaryninjacore.h
@@ -296,7 +296,8 @@ extern "C"
ImportedFunctionSymbol = 2,
DataSymbol = 3,
ImportedDataSymbol = 4,
- ExternalSymbol = 5
+ ExternalSymbol = 5,
+ LibraryFunctionSymbol = 6
};
enum BNSymbolBinding
diff --git a/ui/symbollist.h b/ui/symbollist.h
index aa61abf3..21f30d0b 100644
--- a/ui/symbollist.h
+++ b/ui/symbollist.h
@@ -100,7 +100,7 @@ public:
return false;
}
- bool isFunc() const { return (getType() == FunctionSymbol) || (getType() == ImportedFunctionSymbol); }
+ bool isFunc() const { return (getType() == FunctionSymbol) || (getType() == ImportedFunctionSymbol) || (getType() == LibraryFunctionSymbol); }
uint64_t getStart() const { return sym->GetAddress(); }
std::string getName() const { return name; }
std::string getRawName() const { return rawName; }
diff --git a/ui/theme.h b/ui/theme.h
index ed40aa2e..462e38ed 100644
--- a/ui/theme.h
+++ b/ui/theme.h
@@ -98,7 +98,8 @@ enum ThemeColor
FeatureMapUnicodeStringColor,
FeatureMapFunctionColor,
FeatureMapImportColor,
- FeatureMapExternColor
+ FeatureMapExternColor,
+ FeatureMapLibraryColor
};
void BINARYNINJAUIAPI initThemes();