[PATCH 1/5] strip: Adapt src/strip -o -f on mips

Ying Huang ying.huang@oss.cipunited.com
Tue May 16 06:46:57 GMT 2023


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


More information about the Elfutils-devel mailing list