Chameleon

Chameleon Commit Details

Date:2012-10-27 20:29:45 (6 years 8 months ago)
Author:Evan Lojewski
Commit:2092
Parents: 2091
Message:Fix dyldsymbol tool to *not* add two start routines.
Changes:
M/trunk/i386/util/dyldsymboltool.c

File differences

trunk/i386/util/dyldsymboltool.c
9191
9292
9393
94
95
94
95
96
97
98
99
100
101
102
96103
97104
98105
char* name = strtok(NULL, " ");
name[strlen(name)-1] = 0;// remove newline
sscanf(addr, "%x", &address);
if(strcmp(name, VOID_SYMBOL) == 0) start_addr = address;
add_symbol(&symbols, name, address);
if(strcmp(name, VOID_SYMBOL) == 0)
{
start_addr = address;
}
if(strcmp(name, START_SYMBOL) == 0)
{
if(!start_addr) start_addr = address;
}
else add_symbol(&symbols, name, address);
}
}

Archive Download the corresponding diff file

Revision: 2092