在 2023/5/16 14:46, Ying Huang 写道: > > HI, > > >> libelf/elf_getdata.c: Some eu-utils use read-mmap method to map file, > >> so we need to malloc and memcpy raw data to avoid segment fault. After > >> modification, the correct value are saved in the malloced memory not in > >> process address space. > > Where do these segfaults show up? >     The screenshot of the segment error was not uploaded successfully in the last email, upload again. > > Thanks, > > YIng > huangying@Sleepygon:~/elf/elfutils_4$ src/elflint src/nm.o Segmentation fault huangying@Sleepygon:~/elf/elfutils_4$ src/elflint src/strip.o Segmentation fault