Hi.
Just started with DynamoRIO API and I have a few questions.
First of all I would like to know is there way to disassemble a small part of code by random address?
Let's say I have some address that points in the middle of instruction and I want to disassemble 10 instructions before + current + 10 after it and put result in memory buffer.
The problem is that we need to point at opcode start address to get a valid disasm. But looks like DynamoRIO have some length-disassembler engine and can handle this situation.
So if drdecode can do it with its own functions plz tell me how to do it right way (and also fast way).
Second question is about "Unresolved external symbol '_vsnprintf'", there was more, but I've found '_dr_fpu_exception_init' and '_get_mmx_val' at ..\lib32\drhelper.lib but _vsnprintf imports from the ntdll_imports.lib as __vsnprintf (like from any other ms libs) and my linker fails...
I will be grateful for any help.