Comments (4)
This decodes just fine with ZydisInfo
:
Please provide your code.
from zydis.
Please provide hex input for bytes you are trying to disassemble.
from zydis.
Please provide hex input for bytes you are trying to disassemble.
Sorry, I apologize.
Here is the opcode:
48 BD 6E 02 00 00 00 00 00 00
which should disassemble into
movabs rbp,0x26e
from zydis.
Please excuse me, I made one of the sillier mistakes I could have made. The code was:
BYTE* data = new BYTE[size]; uc_mem_read(uc, address, data, size); ZydisDisassembledInstruction instruction; ZydisDisassembleIntel(ZYDIS_MACHINE_MODE_LONG_64, address, data, sizeof(data), &instruction);
which turned the size parameter of ZydisDisassembleIntel into 8, due to being sizeof(pointer). I've been stuck on this for quite a few days now, and it seems I needed to stir up trouble before figuring it out. I apologize and thank you for your time.
from zydis.
Related Issues (20)
- Compile error in VS2019 HOT 2
- [HELP] OperandDefinitions.inc Need a C89 style define file. HOT 2
- ATT: Missing parenthesis for absolute memory operands HOT 8
- Is there a separate function for Length disassembly in zydis? HOT 11
- Question about ZydisEncoderDecodedInstructionToEncoderRequest's operand_count parameter HOT 3
- Encoder generates wrong relative offset with bnd prefix
- Missing enum definitions in Documentation HOT 1
- Incorrect operand size with mov instruction HOT 3
- How to get operand address as a ZyanU64? HOT 5
- Encoder mishandles 16-bit address truncation behavior HOT 2
- Build failed: build zydis as a dynamic link library on MacOS HOT 4
- Encoder fails to enforce predicted instruction size in some scenarios
- Incorrect disassembly of push rdi HOT 2
- ZydisDecodedInstruction has ZYDIS_ATTRIB_IS_RELATIVE attribute when decoding absolute JMP HOT 3
- ZydisWinKernel.c 0xC0000428 HOT 3
- Zydis.dll dependent on kernel32 HOT 8
- Add [in,out] hints to Doxygen parameter strings HOT 7
- undocumented/unintended ZYDIS_FORMATTER_FUNC_POST_OPERAND behavior HOT 6
- Amalgamated build should auto-define `ZYDIS_STATIC_BUILD` HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zydis.