I have a little question about "segmentation-fault" issue, but I can find any answer.
I can deactivate the stack protection at the gcc compilation, with options [-fno-stack-protector] -z execstack:
...

I want to add a new section to an ELF file (say E) which stores the integrity hash of .text section. Assume I chunk the .text section into T1,T2..Tn and get the hash H1,H2..Hn and add all hashes to ...

This is theoretical question. I am aware that perhaps best practice would be the use of shared libraries. But I ran into this question and cannot seem to find an answer anywhere.
How to construct the ...

Good evening,
I'm trying to install LIBELF library on Windows.
I downloaded the .tar file from the site http://www.mr511.de/software/english.html but when I try to install it with "sh configure" it ...

I have two file that are supposed to be generated from same source version. One of the files is stripped.
Is possible to compare the raw executable portion of the files to establish if they are the ...

I'm Beginner of Linux System and I'm studying ELF File Format reading this Documents(http://www.skyfree.org/linux/references/ELF_Format.pdf).
But When i see related Document about Relocation, There is ...

I have a strange behaviour:
I load an ELF file containing two global variables : E1 and S1
Those two variable are both declared as "int" but TRACE32 see E1 as a FLOAT and S1 as an int.
I try to use ...

For the Executable and Linkable Format, sections describe information in an object file. In the ELF specification, it is mentioned that there may be section headers that are not followed by a section:
...

What is the (correct) way to access the memory image of a process from the corresponding ELF core dump file? In a way that I would be able to examine specific addresses, say 0x12345678.
Bear in mind ...

Basically, I'm trying to figure out how PIN tracks "Image" loads using IMG_AddInstrumentFunction. The documentation says "Use this to register a call back to catch the loading of an image". (There is ...

We know we can randomize the code,data/stack/heap by compile the code as PIE. While the code and data always have a fixed offset on each loading.
Is there a way that by adding some compile/link flags ...

I'm trying to compile third party source code using gcc 4.8 on Ubuntu Linux (12.04 x64) with a lot of utilities and test applications where executable entry point is not called main. Don't ask me why ...

I defined a new code section in my assembly program, which is going to be compiled into 32-bit ELF binary, on x86.
I use the linker scripts to assign a specified address for this new code section, it ...

The test is on Ubuntu 12.04, 32-bit, with gcc 4.6.3.
Basically I am doing some binary manipulation work on ELF binaries, and what I have to do now is to assemble a assembly program and guarantee the ...

I want to intercept global data access, and may redirect global data access to another memory place. I think this can be done by rewriting .got entries with PIE binary. While for the shared libraries, ...

The test is on Ubuntu 12.04 64-bit. x86 architecture.
I am confused about the concept Position Independent Executable (PIE) and Position Independent code (PIC), and I guess they are not orthogonal.
...

Is there a way to set the heap start address in GCC compiled C program in linux? In x86_64 system,my test program sets the heap address to 4 byte referenced address ( less than FFFFFFFF). I want to ...

My overall goal is to align functions and global variables to specific addresses when compiling 2 binaries (one for x86_64 and one for aarch64) so that their symbols appear at the same address in both ...