summaryrefslogtreecommitdiff
path: root/binaryninjaapi.h
diff options
context:
space:
mode:
Diffstat (limited to 'binaryninjaapi.h')
-rw-r--r--binaryninjaapi.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/binaryninjaapi.h b/binaryninjaapi.h
index 55b8ef55..114b6e85 100644
--- a/binaryninjaapi.h
+++ b/binaryninjaapi.h
@@ -4946,6 +4946,12 @@ namespace BinaryNinja {
*/
void AddEntryPointForAnalysis(Platform* platform, uint64_t start);
+ /*! adds an function to all entry function list
+
+ \param func Function to add
+ */
+ void AddToEntryFunctions(Function* func);
+
/*! removes a function from the list of functions
\param func Function to be removed
@@ -5089,6 +5095,11 @@ namespace BinaryNinja {
*/
Ref<Function> GetAnalysisEntryPoint();
+ /*! Get all entry functions (including user-defined ones)
+
+ \return vector of Functions
+ */
+ std::vector<Ref<Function>> GetAllEntryFunctions();
/*! Get most recently used Basic Block containing a virtual address