https://sourceware.org/bugzilla/show_bug.cgi?id=20499
Bug ID: 20499
Summary: gprof: segmentation fault on invalid symbol file
Product: binutils
Version: 2.28 (HEAD)
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: binutils
Assignee: unassigned at sourceware dot org
Reporter: tobias at stoeckmann dot org
Target Milestone: ---
Created attachment 9465
--> https://sourceware.org/bugzilla/attachment.cgi?id=9465&action=edit
Fix segmentation fault in gprof
$ cat > sym-file.txt << "EOF"
a t a
x
x
x
x
EOF
$ gprof -S sym-file.txt /bin/ls
Segmentation fault
Please see the attached patch for an explanation and how to fix it.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
bug-binutils mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-binutils