7h
answered Segmentation fault .data
7h
comment Reading the program header contents of an ELF file
Sure. It's 32-bit only code, and it answers the question with 20 lines of code where a simple "yes" would suffice, but it's fine otherwise.
7h
comment Reading the program header contents of an ELF file
Don't you think that's an important detail? Also, naming your own function read with non-standard signature is a really bad idea(TM).
7h
comment Reading the program header contents of an ELF file
read takes 3 parameters: file descriptor, buffer to read into, and length. You are giving it: physical address, memory size, file offset. None make any sense.
8h
revised Why is .data executable?
added 203 characters in body
8h
answered Why is .data executable?
8h
comment How to get custom function when you don't know custom function name in elf file?
Your question is exceedingly unclear. What exactly are you asking?
8h
comment Reading the program header contents of an ELF file
The code provided here is completely bogus.
8h
answered Reading the program header contents of an ELF file
8h
answered How do I best determine if a binary contains STAB or DWARF debug information?
8h
comment When do .so files get loaded Linux?
Many of the details of this answer, e.g. when exactly a.so is loaded, or the difference between RTLD_LAZY and RTLD_NOW, are completely wrong.
1d
answered link a library I wrote with pthread library
1d
revised Deploying Yesod to Heroku, can't build statically
added 6 characters in body
2d
answered How to link a function which is never referenced in C
Mar
26
awarded Good Answer
Mar
26
comment "/usr/bin/ld: errno: TLS definition in /lib/libc.so.6" in compiling a fortran file
Downgrading glibc from a distribution-provided version is almost guaranteed to render your system unbootable. Not a solution I would recommend to anybody.
Mar
26
answered glibc make fails inside of chroot enviroment
Mar
26
comment How to strip symbol version information from the symbol dependency table of a shared library in Linux?
possible duplicate of Compile with older libc (version `GLIBC_2.14' not found)
Mar
26
answered How to strip symbol version information from the symbol dependency table of a shared library in Linux?
Mar
26
comment RPM available for GDB 7.9?
Building GDB from source is quite simple, and probably your best bet.
1 2 3 4 5