I have some string constants in a C code. when i compile it using gcc, the strings are stored in a.out in plain text. These can 开发者_运维知识库be hand-edited in a.out. I wan\'t them to be encoded in
recently some distributions started to pack the vmlinuz file together with the initrd in an \"ELF-Boot\" imagine that arguably has some advantages. Well, I need to compile a new kernel using the old f
How do I find out which functions of a shared object are used by a program or an other library? In this specific case, I would like to see which functions in /lib/l开发者_C百科ibgcc1_s.so.1 are used b
I have an ELF 32-bit dynamically linked, stripped file which I wish to debug. While trying to set a breakpoint at an address a message saying that the symbol table is not loaded.
How do I programatically detect whether an ELF binary is tampered or broken? For example, If I delete second half of an ELF binary (or a library shared object) and paste random text, this will corrup
Using readelf we can separate the data part from elf file(using 开发者_StackOverflowshell)Is it possible to do the same with a C program?Use can use libelf for this purpose.
I want to compile a shared library with an .interp segment. #include <stdio.h> int foo(int argc, char** argv) {
I\'m using a custom linker script to split a kernel image into two parts. The first is normal code and data, and the second is initialization code and data to be discarded when it\'s no longer needed.
I have a system \"fsimage.so\" that requires mkdirp, which just happens to live in libgen.so. But fsimage.so does not know this. For example:
I have a server application written in C++. After startup, it uses about 480 KB of memory on x86 Linux (Ubuntu 8.04, GCC 4.2.4). I think 480 KB is an excessive amount of memory: the server isn\'t even