Re: IDA beginner

From: Scott J. McCaughrin (spamtrap_at_crayne.org)
Date: 09/27/04


Date: Mon, 27 Sep 2004 08:18:32 +0000 (UTC)

Betov <betov@free.fr> wrote:
: Joe Cosby <"http://joecosby.com/code/mail.pl"@serv1.gc.dca.giganews.com>
: icrivait news:o2thc01sasusfkke7ra16bktmv8cqu2pch@4ax.com:

: >
: > I haven't done much with assembly language before, outside of looking
: > at disassemblies in a C compiler and nodding sagely as if I knew what
: > they meant.
: >
: > I have an old executable that I inherited from a previous admin. It
: > was written in C++ and has a directory hard-coded as a string. I
: > don't have the C source code.
: >

: If the String is too long, you can write the new string,
: with your Hexa-Editor, at the end of the .data Section.
: Then, with a Disassembler, you search for the references
: to this string, and you replace these evocations, also
: with the Hexa Editor.

: If you do not know how to replace a Pointer to Data in
: a Code Section, ...

 You are assuming the OP was talking about a reference to the string, but
 may have been referring to the string itself -- in which case, your
 "pointer" solution won't work.
 What OS is involved? If it is UNIX, you can create a shorter string as a
 link to the original directory.



Relevant Pages

  • Re: Getting file name from the file path error
    ... I checked one users tools - References and it appears that it ... It is part of a code module in an Excel ... end of statement with the As highlighted after the(stFullName As String). ... Sub GetFileNameAs String ...
    (microsoft.public.excel.programming)
  • Re: pesky Pointers !!
    ... creating a new string which is ... > That's a pointer to that string. ... > address of the object and that address is stored in pTest. ... I got confused from the notes I was given earlier about references ...
    (alt.comp.lang.learn.c-cpp)
  • Re: accessors
    ... mentioned that returning references from functions makes using ... boundaries, but if i did, "string const& nameconst" is functionally ... the same as "string nameconst", so i don't see why i'd have to change ... anything (but if i did, the change does not really affect client code, ...
    (comp.lang.cpp)
  • Re: Importing Excel
    ... Function LastInStr(strSearched As String, strSought As String) As Integer ... Didn't realize you haven't set references yet. ... > named Microsoft Excel and select the box. ...
    (comp.databases.ms-access)
  • Re: Is garbage collection here yet?
    ... I don't consider tcl to be a fully higher-level language. ... Tcl has so many other cool features and such a clean ... As others have answered, Tcl does do ref-counting GC of its values, which works fine for strings as they can't contain circular references and are stateless/immutable. ... Basically, it's hard to distinguish a reference from any other string, which makes it difficult to know when it is safe to delete something. ...
    (comp.lang.tcl)