Questions tagged [relocations]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
3 votes
1 answer
90 views

A few questions about reloc tables and base memory

A friend and I are poking around with some 32-bit Windows binaries and wanted to get some info about relocation tables. What is the difference between an exe that does not contain a relocation table (...
Kalamalka Kid's user avatar
2 votes
0 answers
117 views

List of unsolved problems of reverse engineering

Decided to write out a list of still unsolved fundamental problems in the field of reverse engineering. This means that today - there is no easy solution to these problems, or problems that can only ...
user avatar
1 vote
0 answers
35 views

How to prevent dynamic loader from modifying binary in memory?

I have patched a loadable object (an .so file) from this: xor eax,0x304b7c0 to this: mov eax,0x0 When I try to run my binary with these modifications, the application loads the .so file and then it ...
user34087's user avatar
1 vote
0 answers
101 views

Patching out relative calls to DLL functions

I have googled, watched several videos, read the PE spec, and even read some blogs. I am at a loss on how to patch out a message box. I am working through a CTF whose first task is to disable a nag ...
John S.'s user avatar
  • 23
1 vote
1 answer
161 views

Wrong relocations on programs requiring DOS/4G (or DOS/32) 32-bit extender

In the last week I've attempted maybe 3 times to debug a game in DOSBox (Fallout 1 DOS version), and the game uses DOS/4G to extend itself to 32-bit protected mode. The program has a DOS stub which ...
Edw590's user avatar
  • 188
2 votes
1 answer
165 views

Dynamically linked shared objects

From some time I struggle with the dynamically loaded object into process memory. How it exactly works? I found a lot of materials telling that shared objects shares the same code and has only on ...
Mateusz Lewandowski's user avatar
2 votes
0 answers
159 views

How do relocations work for imported functions in SH4 ELF?

I build very simple hello world code with sh4 gcc compiler as shared library: #include <stdio.h> void hello() { printf("Hello world!\n"); } But when I load .so file into the ...
Anton Kukoba's user avatar
  • 1,830