summaryrefslogtreecommitdiff
path: root/binaryninjaapi.h
diff options
context:
space:
mode:
authorRusty Wagner <rusty@vector35.com>2016-04-05 23:01:17 -0400
committerRusty Wagner <rusty@vector35.com>2016-04-05 23:01:17 -0400
commitb505e0464383284e7ce8fefeffc18713488c2c48 (patch)
treeed9966173963bd8c14a0c0d97e2a0581ed0b1d29 /binaryninjaapi.h
parent6b41b386563824547554bcfbbffe996c20c57d7d (diff)
Add backend support for discovering stack variables
Diffstat (limited to 'binaryninjaapi.h')
-rw-r--r--binaryninjaapi.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/binaryninjaapi.h b/binaryninjaapi.h
index 0895d831..6ddeaa17 100644
--- a/binaryninjaapi.h
+++ b/binaryninjaapi.h
@@ -1273,6 +1273,12 @@ namespace BinaryNinja
void ApplyAutoDiscoveredType(Type* type);
Ref<FunctionGraph> CreateFunctionGraph();
+
+ std::map<int64_t, NameAndType> GetStackLayout();
+ void CreateAutoStackVariable(int64_t offset, Type* type, const std::string& name);
+ void CreateUserStackVariable(int64_t offset, Type* type, const std::string& name);
+ void DeleteAutoStackVariable(int64_t offset);
+ void DeleteUserStackVariable(int64_t offset);
};
struct FunctionGraphTextLine