Re: Two Click disassembly/reassembly



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
.



Relevant Pages

  • Re: Macro for multiple Table --> Text conversion
    ... because the loop-ending condition of the For loop is evaluated only once. ... >> will stop the macro. ... so each conversion affects the ... >> Sub TablesToText() ...
    (microsoft.public.word.tables)
  • Re: How to speed up a code loop with INSERT INTO query?
    ... I start by converted the PDF file to a html file. ... Later, I can then loop through and parse these 800,000 strings into ... The problem I have is that the conversion of the text file, ... set rsEWB = currentdb.openrecordset ...
    (comp.databases.ms-access)
  • Re: Skybucks TryStrToUint64 (Version 0.03, register/simple version)
    ... Here is the main loop one more time by simply using the Borland/Common ... So a benchmark would have to prove which one is fastest;) ... conversion speeds take your pick and benchmark! ... conversion routine for some debugging purposes;) ...
    (alt.comp.lang.borland-delphi)
  • Re: How to speed up a code loop with INSERT INTO query?
    ... I start by converted the PDF file to a html file. ... Later, I can then loop through and parse these 800,000 strings into ... The problem I have is that the conversion of the text file, ... TheLine = TheLine + 1 ...
    (comp.databases.ms-access)
  • How to speed up a code loop with INSERT INTO query?
    ... Needing to import and parse data from a large PDF file into an Access ... I start by converted the PDF file to a html file. ... Later, I can then loop through and parse these 800,000 strings into ... The problem I have is that the conversion of the text file, ...
    (comp.databases.ms-access)