elf
Compile using gcc without plain text constants in ELF image
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[详细]
2023-02-15 04:37 分类:问答Compiling the Linux kernel as non-ELF
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[详细]
2023-02-13 06:52 分类:问答How do I find out which functions of a shared object are used by a program or an other library?
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[详细]
2023-02-13 01:04 分类:问答set breakpoint in an stripped ELF executable
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.[详细]
2023-02-04 03:34 分类:问答Is there a way to detect an ELF binary is broken/tampered or not?
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[详细]
2023-02-03 02:51 分类:问答C program to seperate data part of an elf file
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.[详细]
2023-02-02 13:07 分类:问答How to set the dynamic linker path for a shared library?
I want to compile a shared library with an .interp segment. #include <stdio.h> int foo(int argc, char** argv) {[详细]
2023-01-31 22:48 分类:问答Non-.bss uninitialized data section
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.[详细]
2023-01-26 20:19 分类:问答Can I add a library refence to existing Shared Object?
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:[详细]
2023-01-26 08:44 分类:问答How to reduce default C++ memory consumption?
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[详细]
2023-01-24 20:09 分类:问答
加载中,请稍侯......