summaryrefslogtreecommitdiff
path: root/binaryninjaapi.h
diff options
context:
space:
mode:
Diffstat (limited to 'binaryninjaapi.h')
-rw-r--r--binaryninjaapi.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/binaryninjaapi.h b/binaryninjaapi.h
index 96bb4b8c..c37a1a3d 100644
--- a/binaryninjaapi.h
+++ b/binaryninjaapi.h
@@ -14556,6 +14556,7 @@ namespace BinaryNinja {
char** sourceFileValues,
size_t sourceFilesLen
);
+ static bool GetFallbackEnabledCallback(void* ctxt);
public:
Platform(BNPlatform* platform);
@@ -14728,6 +14729,13 @@ namespace BinaryNinja {
std::vector<std::pair<std::string, std::string>>& sourceFiles
);
+ /*! Provide an option for platforms to decide whether to use
+ * the fallback type library.
+ *
+ * Allows the Platform to override it to false.
+ */
+ virtual bool GetFallbackEnabled();
+
Ref<Platform> GetRelatedPlatform(Architecture* arch);
void AddRelatedPlatform(Architecture* arch, Platform* platform);
Ref<Platform> GetAssociatedPlatformByAddress(uint64_t& addr);