summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--binaryninjacore.h3
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