Thread overview
Re: Modify OBJ?
Jun 11, 2002
Nic Tiger
Jun 12, 2002
Walter
Jun 12, 2002
Nic Tiger
June 11, 2002
Hi everybody,

Does anybody knows some kind of utility which could change identifier's name in OBJ file?

E.g., I have OBJ file and want to change '_some_name' to '_another_name'
(public).

Looking forward for an answer,
            Nic Tiger.



June 12, 2002
Try \dm\bin\patchobj.exe


"Nic Tiger" <nictiger@pt.comcor.ru> wrote in message news:ae5bd2$2u81$1@digitaldaemon.com...
> Hi everybody,
>
> Does anybody knows some kind of utility which could change identifier's
name
> in OBJ file?
>
> E.g., I have OBJ file and want to change '_some_name' to '_another_name'
> (public).
>
> Looking forward for an answer,
>             Nic Tiger.
>
>
>


June 12, 2002
Thanks!

But I had 2 problems using it:
1) My OBJ is COFF, not OMF. I translated it via coff2omf, but after applying
patchobj I cannot translate it back into COFF.
2) I tried to patch mangled names (like ?defaultmem@@3PAUMemAlloc@A), but it
seems that OBJ is not changed.

I solved my problem via changing names in OBJ with FAR text editor, but I had the restriction on identifier name length, so I changed defaultmem -> defaultme_ and so.

Thanks again for your reply.

Nic Tiger.

"Walter" <walter@digitalmars.com> wrote in message news:ae64i6$mhn$2@digitaldaemon.com...
> Try \dm\bin\patchobj.exe
>
>
> "Nic Tiger" <nictiger@pt.comcor.ru> wrote in message news:ae5bd2$2u81$1@digitaldaemon.com...
> > Hi everybody,
> >
> > Does anybody knows some kind of utility which could change identifier's
> name
> > in OBJ file?
> >
> > E.g., I have OBJ file and want to change '_some_name' to '_another_name'
> > (public).
> >
> > Looking forward for an answer,
> >             Nic Tiger.
> >
> >
> >
>
>