https://sourceware.org/bugzilla/show_bug.cgi?id=31059
Bug ID: 31059 Summary: Floating Point Exception exists in the function handle_relocs_relr in readelf.c Product: elfutils Version: unspecified Status: UNCONFIRMED Severity: normal Priority: P2 Component: tools Assignee: unassigned at sourceware dot org Reporter: jyxu at seu dot edu.cn CC: elfutils-devel at sourceware dot org Target Milestone: --- Created attachment 15217 --> https://sourceware.org/bugzilla/attachment.cgi?id=15217&action=edit poc System info Ubuntu x86_64, clang 12.0 version: readelf (elfutils) 0.190 Command line ./readelf -a poc Poc poc:https://github.com/SEU-SSL/Poc/blob/main/elfutils/id_000000%2Csig_08%2Csrc_000016%2Cop_havoc%2Crep_128 (Alternatively, download it in the attachment) AddressSanitizer output ==3768462==ERROR: AddressSanitizer: FPE on unknown address 0x0000004d3a8f (pc 0x0000004d3a8f bp 0x7fff0d15cbf0 sp 0x7fff0d15afe0 T0) #0 0x4d3a8f in handle_relocs_relr /src/elfutils-0.190/src/readelf.c:2472:32 #1 0x4d3a8f in print_relocs /src/elfutils-0.190/src/readelf.c:2077:6 #2 0x4d3a8f in process_elf_file /src/elfutils-0.190/src/readelf.c:1060:5 #3 0x4cddf4 in process_dwflmod /src/elfutils-0.190/src/readelf.c:840:3 #4 0x7fc62d17a00d in dwfl_getmodules /src/elfutils-0.190/libdwfl/dwfl_getmodules.c:86:16 #5 0x4cb8e1 in process_file /src/elfutils-0.190/src/readelf.c:948:7 #6 0x4cad48 in main /src/elfutils-0.190/src/readelf.c:417:7 #7 0x7fc62cc4e082 in __libc_start_main /build/glibc-BHL3KM/glibc-2.31/csu/../csu/libc-start.c:308:16 #8 0x41ec2d in _start (/src/elfutils-0.190/src/readelf+0x41ec2d) AddressSanitizer can not provide additional info. SUMMARY: AddressSanitizer: FPE /src/elfutils-0.190/src/readelf.c:2472:32 in handle_relocs_relr -- You are receiving this mail because: You are on the CC list for the bug.