diff options
| author | Xusheng <xusheng@vector35.com> | 2024-08-02 12:10:15 +0800 |
|---|---|---|
| committer | Xusheng <xusheng@vector35.com> | 2024-10-03 11:56:29 +0800 |
| commit | e9c53f3c9a8cb2f28ea8047c1b9b12f0ea31968f (patch) | |
| tree | 92c7e2eb5f16ba90208d97f0a2e51ef2d34cb366 /ui/commands.h | |
| parent | 7e8d66a089e35d2424879a4121f47c9ea808a86f (diff) | |
Support forward type propagation for function/variable. Fix https://github.com/Vector35/binaryninja-api/issues/2725
Diffstat (limited to 'ui/commands.h')
| -rw-r--r-- | ui/commands.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ui/commands.h b/ui/commands.h index b0798a9b..3af4f11b 100644 --- a/ui/commands.h +++ b/ui/commands.h @@ -61,6 +61,9 @@ std::optional<size_t> getVariableDefinitionInstructionIndex( std::optional<size_t> getVariableDefinitionAddress( FunctionRef func, BNFunctionGraphType funcType, const BinaryNinja::Variable& var, size_t ilInstructionIndex); +bool IsDefaultArgumentOrParameterName(const std::string& name); +std::optional<std::string> GetVariableNameFromExpr(BinaryNinja::Function* func, + const BinaryNinja::HighLevelILInstruction& instr); /*! @} |
