summaryrefslogtreecommitdiff
path: root/disasm.h
diff options
context:
space:
mode:
Diffstat (limited to 'disasm.h')
-rw-r--r--disasm.h10
1 files changed, 5 insertions, 5 deletions
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();
};