-
Alex Brainman authored
Section.Data returns disk section data, but those are rounded up to some predefined value. Processing these as is confuses dwarf parser because of garbage at the end. Truncate Section.Data as per memory section description. Sometimes dwarf sections have memory section size of 0 (for pe object files). Keep those to their disk size. Fixes #11608 Change-Id: I8de0a2271201a24aa9ac8dac44f1e9c8a9285183 Reviewed-on: https://go-review.googlesource.com/11950Reviewed-by: Ian Lance Taylor <iant@golang.org>
315e5c99
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
testdata | ||
file.go | ||
file_test.go | ||
pe.go |