We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
go version
$ go version go version go1.15.8 windows/amd64
Didn't check.
go env
windows, amd64
package main import ( "golang.org/x/arch/x86/x86asm" "log" ) func main() { bs := []byte{0xf3, 0x0f, 0x1e, 0xfa} inst, err := x86asm.Decode(bs, 64) if err != nil { log.Fatal(err) } log.Println(inst) log.Println("len", inst.Len) }
It should disassemble as endbr64 or repz nop edx. It should have an instruction length of 4.
endbr64
repz nop edx
REP Op(0) len 1
The text was updated successfully, but these errors were encountered:
Would be happy to help fix this if anyone would like to give pointers of where to look.
Sorry, something went wrong.
Previously reported in #35865.
No branches or pull requests
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Didn't check.
What operating system and processor architecture are you using (
go env
)?windows, amd64
What did you do?
What did you expect to see?
It should disassemble as
endbr64
orrepz nop edx
. It should have an instruction length of 4.What did you see instead?
The text was updated successfully, but these errors were encountered: