diff options
author | Oxore <oxore@protonmail.com> | 2023-05-27 18:46:34 +0300 |
---|---|---|
committer | Oxore <oxore@protonmail.com> | 2023-05-27 18:46:34 +0300 |
commit | 6b8ec09807dde64ccd36a5f0d2ba13d6cdbc66a1 (patch) | |
tree | 27a3b4c67c6c8bc26e65123c814718f52e558a70 /disasm.h | |
parent | a4841d2a593f9efed1cb116137034c307c1d74bc (diff) |
Change `offset` wording to `address` wording in almost all places
Diffstat (limited to 'disasm.h')
-rw-r--r-- | disasm.h | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -365,15 +365,15 @@ struct Op { struct DisasmNode { const TracedNodeType type{}; - /// Absolute offset of the instruction (PC value basically) - const uint32_t offset{}; + /// Address of the instruction (PC value basically) + const uint32_t address{}; /// Instruction size in bytes size_t size{kInstructionSizeStepBytes}; /// Indicates whether `ref_addr` should be interpreted and how RefKindMask ref_kinds{}; - /// Absolute address of reference + /// Address of first argument reference uint32_t ref1_addr{}; - /// Absolute address of reference + /// Address of second argument reference uint32_t ref2_addr{}; ReferenceNode *ref_by{}; ReferenceNode *last_ref_by{}; @@ -384,6 +384,6 @@ struct DisasmNode { */ size_t Disasm(const DataBuffer &code); size_t DisasmAsRaw(const DataBuffer &code); - void AddReferencedBy(uint32_t offset, ReferenceType); + void AddReferencedBy(uint32_t address, ReferenceType); ~DisasmNode(); }; |