flat assembler
Message board for the users of flat assembler.

Index > Heap > Is there a C++library to disam x86 opcodes to txt in runtime

Author
Thread Post new topic Reply to topic
Devel99



Joined: 26 Oct 2015
Posts: 30
Devel99
For example:

Code:
unsigned char uc1[3] = {0x0f, 0x2f, 0xca}; // comiss xmm1, xmm2 
char* asm_text[100000] = "";

int len1 = disasm_from_3rdparty_shared_LIB(uc1, asm_text);
uc1 = uc1+len1
    


Is there a way to get "0F 2F CA comiss xmm1, xmm2" in asm_text?

Thanks in advance! Rolling Eyes
Post 24 Dec 2015, 02:15
View user's profile Send private message Reply with quote
idle



Joined: 06 Jan 2011
Posts: 359
Location: Ukraine
idle
Post 24 Dec 2015, 19:07
View user's profile Send private message Reply with quote
Devel99



Joined: 26 Oct 2015
Posts: 30
Devel99
idle thanks! unfortunately disasm is a very outdated project and surely does not know about CVTSI2SS and COMISS Sad
Ok, i'll dig the web a bit more. I hope there are some modern solutions for that Crying or Very sad
Post 26 Dec 2015, 02:48
View user's profile Send private message Reply with quote
Tyler



Joined: 19 Nov 2009
Posts: 1216
Location: NC, USA
Tyler
LLVM can probably do it.
Post 26 Dec 2015, 20:11
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar. Also on YouTube, Twitter.

Website powered by rwasa.