summaryrefslogtreecommitdiff
path: root/binaryninjaapi.h
diff options
context:
space:
mode:
authorBrian Potchik <brian@vector35.com>2025-10-10 09:34:08 -0400
committerBrian Potchik <brian@vector35.com>2025-10-10 09:34:08 -0400
commit5c41155a46f93ead2b1d7feda8e6bc6f5b4f9549 (patch)
treedda665f5ec8b8e92d490f6b1efea3e35868ee096 /binaryninjaapi.h
parent47f5c67fd7f68dfd95392531431a3efca0ccda3c (diff)
Add password prompting for encrypted containers in Container Browser.
Diffstat (limited to 'binaryninjaapi.h')
-rw-r--r--binaryninjaapi.h16
1 files changed, 12 insertions, 4 deletions
diff --git a/binaryninjaapi.h b/binaryninjaapi.h
index a71d8fc0..a1429ec1 100644
--- a/binaryninjaapi.h
+++ b/binaryninjaapi.h
@@ -9040,15 +9040,22 @@ namespace BinaryNinja {
TransformContext(BNTransformContext* context);
virtual ~TransformContext();
- std::string GetTransformName() const;
- std::string GetFileName() const;
Ref<BinaryView> GetInput() const;
+ std::string GetFileName() const;
+ std::string GetTransformName() const;
+ void SetTransformParameters(const std::map<std::string, DataBuffer>& params);
+ void SetTransformParameter(const std::string& name, const DataBuffer& data);
+ bool HasTransformParameter(const std::string& name) const;
+ void ClearTransformParameter(const std::string& name);
+ std::string GetExtractionMessage() const;
+ BNTransformResult GetExtractionResult() const;
+ BNTransformResult GetTransformResult() const;
Ref<Metadata> GetMetadata() const;
Ref<TransformContext> GetParent() const;
size_t GetChildCount() const;
std::vector<Ref<TransformContext>> GetChildren() const;
- Ref<TransformContext> GetChild(const std::string& filename) const;
- Ref<TransformContext> CreateChild(const DataBuffer& data, const std::string& filename);
+ Ref<TransformContext> GetChild(const std::string& filename = "") const;
+ Ref<TransformContext> SetChild(const DataBuffer& data, const std::string& filename = "", BNTransformResult result = TransformSuccess, const std::string& message = "");
bool IsLeaf() const;
bool IsRoot() const;
std::vector<std::string> GetAvailableFiles() const;
@@ -9073,6 +9080,7 @@ namespace BinaryNinja {
Ref<BinaryView> GetCurrentView() const;
Ref<TransformContext> GetRootContext() const;
Ref<TransformContext> GetCurrentContext() const;
+ bool ProcessFrom(Ref<TransformContext> context);
bool Process();
bool HasAnyStages() const;
bool HasSinglePath() const;