Home > Archive > Unix Programming > August 2006 > Is there a free asm2c converter?
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Is there a free asm2c converter?
|
|
| Paul F. Johnson 2006-08-25, 7:00 pm |
| Hi,
Does anyone know if there is a FOSS equivalent to the commercial asm2c
application?
I have a small number of x86 assembler files that I need converting over
to C (is convert the right word or would port be better?) and begrudge
forking out for the a package I'll only ever use once.
TTFN
Paul
--
"ist du meine Mutter?" - der leerkinde
| |
|
| Paul F. Johnson wrote:
> Does anyone know if there is a FOSS equivalent to the commercial asm2c
> application?
>
> I have a small number of x86 assembler files that I need converting over
> to C (is convert the right word or would port be better?) and begrudge
> forking out for the a package I'll only ever use once.
So... You too hope to turn hamburger back into a cow? :-)
Was the assembly hand-written?
Or was it the ouput of an optimizing compiler?
| |
| Paul F. Johnson 2006-08-28, 8:00 am |
| Spoon wrote:
> Paul F. Johnson wrote:
>
> So... You too hope to turn hamburger back into a cow? :-)
No, I'm not looking for a decompiler - boomerang does such a job.
> Was the assembly hand-written?
Yes. I've been programming long enough to know that if it was machine
generated then it's pretty useless to bother with a decompiler. asm2c takes
the pure assembler source and somehow converts it to C
> Or was it the ouput of an optimizing compiler?
If it was, then I would not bother...
The source (if you're interested) is at
http://www.all-the-johnsons.co.uk/oric/assembler.zip
TTFN
Paul
--
"ist du meine Mutter?" - der leerkinde
| |
| jmcgill 2006-08-28, 7:00 pm |
| Paul F. Johnson wrote:
> Hi,
>
> Does anyone know if there is a FOSS equivalent to the commercial asm2c
> application?
Boomerang
http://boomerang.sourceforge.net/
| |
| jmcgill 2006-08-28, 7:00 pm |
| Paul F. Johnson wrote:
>
> No, I'm not looking for a decompiler - boomerang does such a job.
Oh... ReLogic looks expensive!
It looks like you don't want to turn hamburger into cow, but rather,
turn ASM source into C. Different problem, and very interesting.
Still I wonder if something like Boomerang isn't your friend. Maybe you
can assemble these files in such a way that the symbols are preserved
and can't a decompiler deal with that pretty well?
I never thought about converting ASM to C at the source level, e.g., not
necessarily a reverse engineering effort. More like a port.
| |
| Bit Twister 2006-08-28, 7:00 pm |
| On Mon, 28 Aug 2006 11:22:16 -0700, jmcgill wrote:
>
> It looks like you don't want to turn hamburger into cow, but rather,
> turn ASM source into C. Different problem, and very interesting.
>
> Still I wonder if something like Boomerang isn't your friend. Maybe you
> can assemble these files in such a way that the symbols are preserved
> and can't a decompiler deal with that pretty well?
>
> I never thought about converting ASM to C at the source level, e.g., not
> necessarily a reverse engineering effort. More like a port.
Evan Brown had the same idea, and looking at the ruling, it looks like
Alcatel owns the idea without the code.
http://www.unixguru.com/
| |
| jmcgill 2006-08-28, 7:00 pm |
| Bit Twister wrote:
> Evan Brown had the same idea, and looking at the ruling, it looks like
> Alcatel owns the idea without the code.
There's always been something that bothers me deeply about Brown's case.
In Texas, you can have a Jury Trial at ANY hearing for ANYTHING. It's
guaranteed in the State Constitution.
So when Brown says;
"I am extremely discouraged. I believed that eventually I would have a
jury trial and the jury would rule on the facts in the case."
I'm afraid I don't follow. At some point, he had to explicitly waive
the right to a trial by jury, or else the first hearing would have had
one.
|
|
|
|
|