Position independent executables (PIE) contain position independent code similar to the Shared libraries and therefore such executables get loaded at a randomly chosen address upon startup.
位置无关可执行程序(PIE)含有位置无关代码,有点像动态库,因此启动时这些代码会被随机加载到一个地址上。
This tells the compiler to generate position-independent code.
这告诉编译器生成位置无关代码。
Compiling the DLL as position-independent code.
将dll编译为位置无关代码。
If you're an avid ASM coder, many things are more straightforward since you can take care to produce position-independent code. This won't necessarily free you from all relocation concerns, however.
假如你想用汇编,很多事情看来可能更直接,因为你要侧重编写自由定位的代码。
If you're an avid ASM coder, many things are more straightforward since you can take care to produce position-independent code. This won't necessarily free you from all relocation concerns, however.
假如你想用汇编,很多事情看来可能更直接,因为你要侧重编写自由定位的代码。
应用推荐