binutils
Patching code/symbols into a dynamic-linked ELF binary
Suppose I have an ELF binary that\'s dynamic linked, and I want to override/redirect certain library calls. I know I can do this with LD_PRELOAD, but I want a solution that\'s permanent in the binary,[详细]
2023-01-21 08:35 分类:问答How to extract only the raw contents of an ELF section?
I\'ve tried the following, but the resulting file is still an ELF and not purely the section content.[详细]
2023-01-20 11:16 分类:问答How to link a gas assembly program that uses the C standard library with ld without using gcc?
As an exercise to learn more precisely how c programs work and what minimum level of content must exist for a program to be able to use libc, I\'ve taken it upon myself to attempt开发者_Python百科 to[详细]
2023-01-13 01:00 分类:问答objdump ELF and Windows
I am fairly new to this subject, that is ELF and any Linux related stuff. I 开发者_如何学JAVAam trying to write an ELF file and would prefer to do it on WinXP.[详细]
2023-01-11 11:47 分类:问答How can adding a function call cause other symbols to become undefined when linking?
I\'m hoping someone will be able to help troubleshoot what I think is a linker script issue. I\'m encountering a strange problem after adding a call to a new function. Without the function call, my o[详细]
2023-01-08 00:32 分类:问答Dynamic loading of shared objects using dlopen()
I\'m working on a pl开发者_运维百科ain X11 app. By default, my app only requires libX11.so and the standard gcc C and math libs.[详细]
2022-12-30 08:15 分类:问答How to deal with recursive dependencies between static libraries using the binutils linker?
I\'m porting an existing system from Windows to Linux. The build is structured with multiple static libraries. I ran into a linking error where a symbol (defined in libA) could not be found in an obje[详细]
2022-12-28 20:18 分类:问答C compiler cannot create executables when trying to build Binutils
I am trying to build Linux From Scratch, and now I am at chapter 开发者_Python百科5.4, which tells me how to build Binutils. I have binutils 2.20\'s source code, but when I try to build it:[详细]
2022-12-28 17:44 分类:问答Given an ELF binary built from C++ with gcc, how can I determine the sizeof some type in it?
Is there some way using binutils tools to get this? For example: // x.cc typedef long long MyInt; int main(int argc, char* argv[]) {[详细]
2022-12-27 09:08 分类:问答How to reverse the objcopy's strip with only-keep-debug?
In modern linux almost all objects are stripped and splitted in two parts (two files). First is executable itself and second is debug symbols, stripped out from original ELF. Such files are created wi[详细]
2022-12-24 04:45 分类:问答