google / bloaty

Bloaty: a size profiler for binaries
Apache License 2.0
4.66k stars 337 forks source link

Fix bloaty error if zero-sized segment is at offset larger than file size #379

Open kjteske opened 1 month ago

kjteske commented 1 month ago

https://github.com/google/bloaty/issues/378

google-cla[bot] commented 1 month ago

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

kjteske commented 1 month ago

I can add a test if this fix looks good.

kjteske commented 3 weeks ago

@haberman - any thoughts on this PR? I can look into adding a test if this makes sense and looks good.