| View previous topic :: View next topic |
| Author |
Message |
iPromise Grandmaster Cheater
Reputation: -1
Joined: 27 Jun 2009 Posts: 529 Location: Canada
|
Posted: Sun Jan 09, 2011 2:43 pm Post subject: Byte to ASM |
|
|
| Is there a function or method can can convert byte signatures to inline asm? This question is out of my plain curiousity. I know that there are plenty of functions which can convert byte singatures to hexadecimal, but I don't know whether there are functions for inline asm. If there are any methods or functions, can you please share?
|
|
| Back to top |
|
 |
Jesper Grandmaster Cheater Supreme
Reputation: 9
Joined: 21 Feb 2007 Posts: 1156
|
|
| Back to top |
|
 |
hcavolsdsadgadsg I'm a spammer
Reputation: 26
Joined: 11 Jun 2007 Posts: 5801
|
Posted: Sun Jan 09, 2011 6:08 pm Post subject: |
|
|
| use a library or roll your own.
|
|
| Back to top |
|
 |
Slugsnack Grandmaster Cheater Supreme
Reputation: 71
Joined: 24 Jan 2007 Posts: 1857
|
Posted: Sun Jan 09, 2011 6:35 pm Post subject: |
|
|
What do you mean by your question ? A byte signature is simply a set of bytes with the option of wildcards at any point. Inline asm is a language.. or rather the incorporation of a piece of assembler code into a source. The only thing I can think of is you want to generate a 'db' statement to declare it ?
Or do you mean you want raw bytes to be converted to assembler opcodes ? If so, you need to look into disassemblers and/or their supporting libraries.
|
|
| Back to top |
|
 |
iPromise Grandmaster Cheater
Reputation: -1
Joined: 27 Jun 2009 Posts: 529 Location: Canada
|
Posted: Sun Jan 09, 2011 7:05 pm Post subject: |
|
|
@slugsnack
What I mean is that 50 (byte) is push eax in asm, now what i'm asking is, is there a predefined library with a function that can take the byte signature and convert into asm or would I have to make my own function? I did do plenty of research but came up with barely any good results.
|
|
| Back to top |
|
 |
Slugsnack Grandmaster Cheater Supreme
Reputation: 71
Joined: 24 Jan 2007 Posts: 1857
|
Posted: Mon Jan 10, 2011 2:45 am Post subject: |
|
|
| YES I JUST TOLD YOU. That's exactly what a disassembler does. All you have to do is google for that.
|
|
| Back to top |
|
 |
Dacnomania Expert Cheater
Reputation: 1
Joined: 03 Sep 2010 Posts: 124
|
|
| Back to top |
|
 |
atom0s Moderator
Reputation: 205
Joined: 25 Jan 2006 Posts: 8587 Location: 127.0.0.1
|
Posted: Mon Jan 10, 2011 10:03 am Post subject: |
|
|
As said in another topic, ADE32 / HDE32/64.
_________________
- Retired. |
|
| Back to top |
|
 |
colo Expert Cheater
Reputation: 1
Joined: 09 Apr 2005 Posts: 111
|
Posted: Thu Jan 13, 2011 11:11 pm Post subject: |
|
|
@iPromise... Read or learn, firstly ASM.
_________________
|
|
| Back to top |
|
 |
KryziK Expert Cheater
Reputation: 3
Joined: 16 Aug 2009 Posts: 199
|
Posted: Thu Jan 27, 2011 10:00 pm Post subject: |
|
|
I've been interested in the same thing for quite some time, but I can't come across a good command line disassembler/assembler. Most of the ones I see only convert files, whereas I'd like to convert a simple string input. Has anything like this just flew over my head or is there not such thing around?
Assembling would be nice too. I've tried to figure out DarkBytes, but I've failed.
|
|
| Back to top |
|
 |
|