diff options
| author | Rusty Wagner <rusty@vector35.com> | 2016-02-03 17:13:47 -0500 |
|---|---|---|
| committer | Rusty Wagner <rusty@vector35.com> | 2016-02-03 17:13:47 -0500 |
| commit | ce672eb54474d0a9f940e529d94599c5eef18dc7 (patch) | |
| tree | 8b9c7eec09ae50f39d88f99ce359b0a11480e54f /binaryninjaapi.h | |
| parent | 290df8eef95d0d7f2f0e99c91b104b4b02f2bd22 (diff) | |
Don't overwrite existing symbols when creating imported functions
Diffstat (limited to 'binaryninjaapi.h')
| -rw-r--r-- | binaryninjaapi.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/binaryninjaapi.h b/binaryninjaapi.h index 32273db8..0895d831 100644 --- a/binaryninjaapi.h +++ b/binaryninjaapi.h @@ -702,6 +702,8 @@ namespace BinaryNinja void DefineUserSymbol(Symbol* sym); void UndefineUserSymbol(Symbol* sym); + void DefineImportedFunction(Symbol* importAddressSym, Function* func); + bool IsNeverBranchPatchAvailable(Architecture* arch, uint64_t addr); bool IsAlwaysBranchPatchAvailable(Architecture* arch, uint64_t addr); bool IsInvertBranchPatchAvailable(Architecture* arch, uint64_t addr); |
