From 6b8ec09807dde64ccd36a5f0d2ba13d6cdbc66a1 Mon Sep 17 00:00:00 2001 From: Oxore Date: Sat, 27 May 2023 18:46:34 +0300 Subject: Change `offset` wording to `address` wording in almost all places --- disasm.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'disasm.h') diff --git a/disasm.h b/disasm.h index f138e5f..9228ffb 100644 --- a/disasm.h +++ b/disasm.h @@ -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(); }; -- cgit v1.2.3