fix(disasm): render amd64 in the toolchain's Go syntax

Assisted-by: GLM 5.3 Flash
This commit is contained in:
petrbalvin committed 2026-10-07 01:00:45 +02:00
1 parent 9b751f6e58
commit b394551af8
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -70,7 +70,7 @@ func Decode(a arch.Arch, code []byte, addr uint64) (Instruction, error) {
if err != nil {
return Instruction{Addr: addr, Text: "???", Len: 1}, nil
}
return Instruction{Addr: addr, Text: x86asm.IntelSyntax(inst, addr, nil), Len: inst.Len}, nil
return Instruction{Addr: addr, Text: x86asm.GoSyntax(inst, addr, nil), Len: inst.Len}, nil
}
}