Re: Two Click disassembly/reassembly
- From: "Charles A. Crayne" <ccrayne@xxxxxxxxxx>
- Date: Thu, 26 Jan 2006 15:58:30 -0800
On 26 Jan 2006 12:09:26 -0800
"randyhyde@xxxxxxxxxxxxx" <randyhyde@xxxxxxxxxxxxx> wrote:
:What happens with they didn't use a scaled index addressing mode?
:Perhaps they've used induction across a loop and they automatically add
:4 to EAX on each iteration of that loop.
And just how is this straw man any more formidable than his predecessor,
which I swept away with ease? However, since you obviously didn't
understand, let me go through it again, in more detail.
The tool flags any statement which calls, or jumps to, an address which is
not an unmodified label. The programmer can either add a new label to
the x86 source and change the call/jump target address accordingly [as in
your previous example], or change the target address calculation where
it occurs in the loop [as in your example above] and flag the call/jmp
statement as having by approved by the programmer.
:Except for trivial demo
:apps, it's less work to do the conversion by hand when it's all said
:and done.
It is difficult to believe that you typed this with a straight face, as it
should be obvious to the casual observer that the larger the body of code
to be converted, the more valuable the tool.
:Well, you and Rene can feel free to spend all your free time working on
:a tool.
Unlike Betov, I do not have a large body of RosAsm source code which I wish
to convert to another architecture, and therefore will not be working on
that tool. However I do have a very similar situation, for which I am
currently writing a conversion tool.
As you may know, some years ago, I wrote a text adventure game engine, for
which my wife wrote a number of game scripts. More recently, I ported the
engine from DOS to Linux, but in an attempt to reach users on other
hardware platforms, I have decided to port the scripts to the Inform
compiler.
Most of the time I have spent on this project has be devoted to learning
the Inform way of doing things, which I still have not completely
mastered. However, the 16 hours, or so, which I have spent writing the
tool, has already saved me at least 10 times that investment, as compared
to hand conversion.
-- Chuck
.
- Follow-Ups:
- Re: Two Click disassembly/reassembly
- From: randyhyde@xxxxxxxxxxxxx
- Re: Two Click disassembly/reassembly
- References:
- Re: Two Click disassembly/reassembly
- From: Frank Kotler
- Re: Two Click disassembly/reassembly
- From: Betov
- Re: Two Click disassembly/reassembly
- From: santosh
- Re: Two Click disassembly/reassembly
- From: Betov
- Re: Two Click disassembly/reassembly
- From: santosh
- Re: Two Click disassembly/reassembly
- From: Betov
- Re: Two Click disassembly/reassembly
- From: Alex McDonald
- Re: Two Click disassembly/reassembly
- From: \\\\\\o///annabee
- Re: Two Click disassembly/reassembly
- From: Frank Kotler
- Re: Two Click disassembly/reassembly
- From: \\\\\\o///annabee
- Re: Two Click disassembly/reassembly
- From: ¬a\\/b
- Re: Two Click disassembly/reassembly
- From: randyhyde@xxxxxxxxxxxxx
- Re: Two Click disassembly/reassembly
- From: Charles A. Crayne
- Re: Two Click disassembly/reassembly
- From: randyhyde@xxxxxxxxxxxxx
- Re: Two Click disassembly/reassembly
- Prev by Date: Re: Two Click disassembly/reassembly
- Next by Date: Re: Two Click disassembly/reassembly
- Previous by thread: Re: Two Click disassembly/reassembly
- Next by thread: Re: Two Click disassembly/reassembly
- Index(es):
Relevant Pages
|