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
When using code code = [15, 31, 128, 0, 0, 0, 0] in sleighcraft and set MODE_64, We will get an error BadDataError.
code = [15, 31, 128, 0, 0, 0, 0]
BadDataError
crash demo
let mut sleigh_builder = SleighBuilder::default(); let spec = arch("x86-64").unwrap(); let buf = [15, 31, 128, 0, 0, 0, 0]; let mut loader = PlainLoadImage::from_buf(&buf, 0); sleigh_builder.loader(&mut loader); sleigh_builder.spec(spec); sleigh_builder.mode(MODE64); let mut asm_emit = CollectingAssemblyEmit::default(); let mut pcode_emit = CollectingPcodeEmit::default(); sleigh_builder.asm_emit(&mut asm_emit); sleigh_builder.pcode_emit(&mut pcode_emit); let mut sleigh = sleigh_builder.try_build().unwrap(); sleigh.decode(0).unwrap(); println!("{:?}", asm_emit.asms); println!("{:?}", pcode_emit.pcode_asms);
But using capstone is normal
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When using code
code = [15, 31, 128, 0, 0, 0, 0]
in sleighcraft and set MODE_64, We will get an errorBadDataError
.crash demo
But using capstone is normal
![image](https://user-images.githubusercontent.com/82093214/127590222-ee98d9e8-0727-4dc9-9c75-0676bd3d78eb.png)
The text was updated successfully, but these errors were encountered: