home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.2600.hackers      Pretty sure it ain't about the Atari...      12,451 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 11,121 of 12,451   
   QuasiCodo to All   
   Re: ARM file hacking assembler tool   
   14 Aug 07 20:54:09   
   
   XPost: alt.hacking, alt.hacker   
   From: nobody@nobody.com   
      
   soja_a wrote:   
      
    > QuasiCodo wrote:   
    >> In the old DOS days, we could use debug.exe to make changes to an   
   executable.  Debug had an assemble command that let you type in opcode   
   mnemonics and operands and it would do on-the-fly assembly.   
    >   
    > Every system I've ever used has had a debugging utility that would   
    > disassemble as part of its functionality, going back to DEC PDP-8   
    > computers back in the stone age (DDT - Dynamic Debugging Tool, the   
    > prototype for all that followed). It simply beggars the imagination that   
    > Micro$oft wouldn't have some sort of debug utility for all flavors of   
   Win*.   
      
   Unfortunately, I cannot do system-level debugging.   
      
   This is the process I am using:   
      
   1.  Use IDA pro to disassemble the hack target (a .dll file on a hand   
   held device).   
      
   2.  Identify the portion of code I want to rewrite.   
      
   3.  Then either   
      
   a.  use VS2K5 to write sample C code which I think will assemble into   
   ARM code similar to what I want.   
      
   or   
      
   b.  Use the gray matter and the ARM reference to mimic an assembler and   
   produce my own HEX machine code.   
      
   4.  Use a HEX editor and put the machine instructions produced in step 3   
   into the .dll.   
      
   5.  Rerun IDA pro on the .DLL and confirm the instructions look good.   
      
   6.  Run the .dll on the target system and hope I did everything right.   
      
   7.  Either   
      
   a.  swear and repeat steps 1 - 7.   
      
   or   
      
   b.  rejoice and move on to the next project   
      
      
   As you can see, this is a laborious process.  I just wished IDA pro   
   would do produce ARM assembly on-the-fly.  The IDA docs say that it does   
   assemble on-the-fly X86 code, but not ARM.  Bummer.   
      
      
      
    >   
    > I'll preface my advice with the caveat that I'm a total Win* tard: never   
    > use it beyond the most simple luser-type stuff. So, perhaps I   
    > misunderstand your question, but you're looking for a source-level   
    > assembly language debugger that runs under Windows, no?   
      
   Not really source-level.  I am just looking at the assembly.   
      
    > If so, have a look   
    > at the Hackman suite:   
    >   
    > http://www.technologismiki.com/hackman/   
    >   
    > and PE Explorer:   
    > http://www.softlookup.com/display.asp?id=7084   
      
   Thanks for the references.  I check them out.   
      
    >   
    > If what you want is something that runs under WinCE on an ARM processor,   
    > then probably these won't work, but since AFAIK WinCE is for handheld   
    > devices and such, I assume that you're doing some cross-platform hacking.   
    > If not, my apologies.   
      
   I'm not doing cross-platform hacking.   
      
    >   
    > HTH   
    > soja_a   
    >   
    >   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca