diff options
| author | unknowntrojan <14975032+unknowntrojan@users.noreply.github.com> | 2023-05-17 18:04:29 +0200 |
|---|---|---|
| committer | unknowntrojan <14975032+unknowntrojan@users.noreply.github.com> | 2023-05-17 18:04:29 +0200 |
| commit | 7050aae7b52743bfdfca661dd522f879c16c3cf5 (patch) | |
| tree | 27e5b1abde040b54cbf9a1e30dd4aa28881d4d65 | |
| parent | fe652692dc8ac79e28c3ac09e4149b9be8f51ac0 (diff) | |
add comment to explain magic offset
| -rw-r--r-- | src/lib.rs | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -229,6 +229,8 @@ fn get_instruction_pattern( } } + // 0x10000000 constants here are what iced-x86 bases its disassembly on. + if !include_operands && offsets.has_immediate() { let branch_target = instr .op_kinds() |
