diff options
| author | Rusty Wagner <rusty@vector35.com> | 2020-01-03 21:51:50 -0500 |
|---|---|---|
| committer | Rusty Wagner <rusty@vector35.com> | 2020-04-17 14:20:38 -0400 |
| commit | 0e8987bb46b8aa33c5898d5effed25f1124e03dd (patch) | |
| tree | 87943b69c39f4377eedf07c2fa9b9ec1ab018f9d /binaryninjaapi.h | |
| parent | 620dd96217a49803fe04c6bc286291ddd857dcba (diff) | |
Add types to HLIL expressions
Diffstat (limited to 'binaryninjaapi.h')
| -rw-r--r-- | binaryninjaapi.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/binaryninjaapi.h b/binaryninjaapi.h index 323431c9..19143c13 100644 --- a/binaryninjaapi.h +++ b/binaryninjaapi.h @@ -4244,6 +4244,9 @@ __attribute__ ((format (printf, 1, 2))) std::vector<DisassemblyTextLine> GetExprText(ExprId expr, bool asFullAst = true); std::vector<DisassemblyTextLine> GetExprText(const HighLevelILInstruction& instr, bool asFullAst = true); + Confidence<Ref<Type>> GetExprType(size_t expr); + Confidence<Ref<Type>> GetExprType(const HighLevelILInstruction& expr); + void VisitAllExprs(const std::function<bool(const HighLevelILInstruction& expr)>& func); Ref<FlowGraph> CreateFunctionGraph(DisassemblySettings* settings = nullptr); |
