@@ -2776,6 +2776,10 @@ namespace BinaryNinja {
27762776 };
27772777
27782778
2779+ namespace Collaboration
2780+ {
2781+ class RemoteProject;
2782+ }
27792783 /*!
27802784
27812785 \ingroup project
@@ -2827,6 +2831,8 @@ namespace BinaryNinja {
28272831
28282832 void BeginBulkOperation();
28292833 void EndBulkOperation();
2834+
2835+ Ref<Collaboration::RemoteProject> GetRemoteProject();
28302836 };
28312837
28322838 /*!
@@ -3928,6 +3934,8 @@ namespace BinaryNinja {
39283934 const NameSpace& nameSpace = NameSpace(DEFAULT_INTERNAL_NAMESPACE), uint64_t ordinal = 0);
39293935 Symbol(BNSymbolType type, const std::string& name, uint64_t addr, BNSymbolBinding binding = NoBinding,
39303936 const NameSpace& nameSpace = NameSpace(DEFAULT_INTERNAL_NAMESPACE), uint64_t ordinal = 0);
3937+ Symbol(BNSymbolType type, const std::string& shortName, const std::string& fullName, const std::string& rawName,
3938+ uint64_t addr, BNNameSpace* nameSpace, BNSymbolBinding binding = NoBinding, uint64_t ordinal = 0);
39313939 Symbol(BNSymbolType type, const std::string& name, uint64_t addr, BNNameSpace* nameSpace,
39323940 BNSymbolBinding binding = NoBinding, uint64_t ordinal = 0);
39333941 Symbol(BNSymbol* sym);
@@ -6482,7 +6490,9 @@ namespace BinaryNinja {
64826490 const FunctionViewType& viewType, const std::function<bool(size_t current, size_t total)>& progress,
64836491 const std::function<bool(uint64_t addr, const LinearDisassemblyLine& line)>& matchCallback);
64846492
6485- bool Search(const std::string& query, const std::function<bool(uint64_t offset, const DataBuffer& buffer)>& otherCallback);
6493+ bool Search(const std::string& query,
6494+ const std::function<bool(size_t current, size_t total)>& progressCallback,
6495+ const std::function<bool(uint64_t addr, const DataBuffer& buffer)>& matchCallback);
64866496
64876497 void Reanalyze();
64886498
@@ -10088,11 +10098,11 @@ namespace BinaryNinja {
1008810098
1008910099 /*! Clone a workflow, copying all Activities and the execution strategy
1009010100
10091- \param name Name for the new Workflow
10101+ \param name If specified, name the new Workflow, otherwise the name is copied from the original
1009210102 \param activity If specified, perform the clone with `activity` as the root
1009310103 \return A new Workflow
1009410104 */
10095- Ref<Workflow> Clone(const std::string& name, const std::string& activity = "");
10105+ Ref<Workflow> Clone(const std::string& name = "" , const std::string& activity = "");
1009610106
1009710107 /*! Register an Activity with this Workflow
1009810108
@@ -10203,6 +10213,22 @@ namespace BinaryNinja {
1020310213 */
1020410214 bool Insert(const std::string& activity, const std::vector<std::string>& activities);
1020510215
10216+ /*! Insert an activity after the specified activity and at the same level.
10217+
10218+ \param activity Name of the activity to insert the new one after
10219+ \param newActivity Name of the new activity to be inserted
10220+ \return true on success, false otherwise
10221+ */
10222+ bool InsertAfter(const std::string& activity, const std::string& newActivity);
10223+
10224+ /*! Insert a list of activities after the specified activity and at the same level.
10225+
10226+ \param activity Name of the activity to insert the new one after
10227+ \param newActivity Name of the new activities to be inserted
10228+ \return true on success, false otherwise
10229+ */
10230+ bool InsertAfter(const std::string& activity, const std::vector<std::string>& activities);
10231+
1020610232 /*! Remove an activity by name
1020710233
1020810234 \param activity Name of the activity to remove
0 commit comments