All Questions
4 questions
0
votes
1
answer
1k
views
Convert PIE ELF binary into No-PIE
Is it possible changing few bytes for converting an elf binary from PIE to No-PIE (ELF)?
I know that in the header if e_type is:
- 3 then the program is PIE
- 2 then the program is No-PIE
So I ...
2
votes
1
answer
560
views
Position-independent code dectection
Is it possible to detect whether a given executable is a PIC by looking at the disassembler's output? If not, what are other valid ways to go about this?
3
votes
1
answer
410
views
LD_BIND_NOW doesn’t seem to take effect on ELF PIE executable?
Observations
When the Linux executable is compiled as PIE (Position Independent Executable, default on Ubuntu 18.04), the symbols from shared libraries (e.g. libc) will be resolved when the program ...
2
votes
0
answers
2k
views
Debugging a position independent executable ELF
I am trying to follow the write-up about hackercalc (a challenge for DEFCON 2015 quals). First, by loading the challenge into gdb, I observe that:
(gdb) info files
...
Entry point: 0xcf8
...
So I ...