|author||Hana Kim <firstname.lastname@example.org>||Tue Sep 25 13:56:00 2018 -0400|
|committer||Hyang-Ah Hana Kim <email@example.com>||Wed Oct 17 04:30:53 2018 +0000|
internal/core: change how to determine the main binary Previously, viewcore assumed that the first executable ELF binary is the main binary and tried to get symbols and DWARF out of it. We found the assumption can be wrong for the binary compiled with pie or has mix of other languages. Here we change the heuristic to determine the main binary: the first executable mappings found from the note section. This is consistent with the assumption we used to determine when to utilize the --exe flag value while processing NT_FILE records. Also, this CL eliminates the file not found error type but utilizes os.IsNotExist. Change-Id: I0a41ffa7c81808d278a27f3d55a1fba204e39508 Reviewed-on: https://go-review.googlesource.com/c/137375 Reviewed-by: Heschi Kreinick <firstname.lastname@example.org> Run-TryBot: Heschi Kreinick <email@example.com> TryBot-Result: Gobot Gobot <firstname.lastname@example.org>
This repository holds utilities and libraries for debugging Go programs.
WARNING! Please expect breaking changes and unstable APIs. Most of them are currently are at an early, experimental stage.