|
From: Nicholas N. <nj...@ca...> - 2004-04-13 20:50:40
|
On Tue, 13 Apr 2004, Robert Walsh wrote: > The dollar symbols are legal in symbols in gcc, believe > it or not. We use them to delimit bits of the symbol. The two numbers > following it are hex digits of a character that isn't legal in a symbol, > so $3A == ':' and $2E == '.'. So this function is: > > soname:libc.so.6:__raise > > This is plucked apart by the scanning code to set up the intercept > table. This basically says "the function called > _vgi__soname$3Alibc$2Eso$2E6$3A__raise is an intercept for __raise in > the shared object called libc.so.6." > > Ugly, but it works. :-) If you can think of a cleaner mechanism, I'd > like to hear about it. I probably would have just replaced them with underscores, but hey, if it works... it's not like any compiler other than GCC can compile Valgrind. N |