diff options
| author | Peter LaFosse <peter@vector35.com> | 2018-04-05 17:43:15 -0400 |
|---|---|---|
| committer | Peter LaFosse <peter@vector35.com> | 2018-04-05 17:43:15 -0400 |
| commit | 0ee4eae0a56ecbf949c0661058483b40e81a3d84 (patch) | |
| tree | 00a1eb8791d4aabfcd29e0d2f030ae3ef3217dcb | |
| parent | 3ab46c4423c5e42f27f373b6ba362a068460c317 (diff) | |
Do pc and base relative relocations explicitly
| -rw-r--r-- | binaryninjacore.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/binaryninjacore.h b/binaryninjacore.h index b568bb75..47f95700 100644 --- a/binaryninjacore.h +++ b/binaryninjacore.h @@ -1119,7 +1119,8 @@ extern "C" struct BNRelocationInfo { BNRelocationType bnType; // BinaryNinja Relocation Type - BNRelativeRelocationType relative; // Relative to base/symbol or Absolute + bool pcRelative; // PC Relative or Absolute (subtract address from relocation) + bool baseRelative; // Relative to start of module (Add module base to relocation) bool hasSign; // Addend should be subtracted size_t size; // Size of the data to be written size_t truncateSize; // After addition/subtraction truncate to |
