yeah it is working.. :) .. i almost lost hope in it... thanks.. i will just try to understand it fully and will make out from it. In man page of execve i found like i should not call this execve if...
Type: Posts; User: josymadamana
yeah it is working.. :) .. i almost lost hope in it... thanks.. i will just try to understand it fully and will make out from it. In man page of execve i found like i should not call this execve if...
i will explain in detail what i did. this was how i proceeded
./repeat foobar
LD_PRELOAD is unset.
The address of memcpy() is 0x804844c.
Copied "foobar".
./example foobar
LD_PRELOAD is...
thanks a million for ur HELPFUL information... :) thats what i can say... :) i need to fix this some how. so i had posted in multiple forum. sorry for the inconvenience caused... :)
thanks for ur detailed analysis. but when i am doing a ld_preload and trying to execute the program i am getting a segmentation fault. i m doing seting LD_PRELOAD by the command
export...
i am using a static library which is actually calling application constructor. I am building the application with this library statically. this library is having many calls to the inbuilt function...
i am using a static library which is actually calling application constructor. I am building the application with this library statically. this library is having many calls to the inbuilt function...
hi
i am stuck with a particular problem. when a strcpy or some string functions are called by a application it executes the following functions
0x000000555556c7d0 in _dl_runtime_resolve () from...
yeah but i dont know how to use that pointer for adding that library dynamically into LD_PRELOAD. if anyone knows please help
thanks for ur detailed mail. environ is not doing the work. when i do a LD_PRELOAD of memcpy even in the constructor function my own memcpy is called. i tried to unset environ LD_PRELOAD by like this...
hi this is my code. here i am trying to build a library of this code and do LD_PRELOAD of it so that i can dynamically add libmymemcopy to LD_PRELOAD. i want if the executable/application with name...
i am writing a memcpy wrapper. and i am doing a LD_PRELOAD of the library on which memcpy wrapper is written. Now if i run a application which calls strcpy it is not doing it fast. if i am runing the...
(gdb) where
#0 0x0000005555561d74 in do_lookup_x () from /lib64/ld.so.1
#1 0x00000055555622a8 in _dl_lookup_symbol_x () from /lib64/ld.so.1
#2 0x000000555556ca84 in __dl_runtime_resolve () from...
hi it worked perfectly for the first time... but it crashed when i ran it again.......
this time it was calling my own implimented libc. evenif i had kept RTLD_NEXT in memcpy. both of my codes...
thankyou it worked... thanks for ur timely help.... i had tried this but was getting a segmentation fault because i was not doing the typecast....
Using dlopen can i load the entire library??? i had seen examples where we can get the symbol name in the library using dlsym. Using dlsym also i tried to get the symbols from libc.so. But dlsym is...
hi i am not clear about the extra behaviour here u had told. How to set that in the constructor. In the constructor i can find whether application should be excluded or not. but how to set unset...
Hi,
I am trying to write wrapper function for some libc functions. I am doing it by creating a library and setting it in LD_PRELOAD. For some applications I dont want to set LD_PRELOAD how to do...