javierhonduco / lightswitch

CPU profiler for Linux written in Rust
MIT License
7 stars 3 forks source link

Use `p_filesz` instead of `p_memsz` for address normalization #112

Closed javierhonduco closed 6 days ago

javierhonduco commented 6 days ago

Saw https://github.com/libbpf/blazesym/pull/875 by pure chance and we have the same bug in our normalization logic.

Thanks so much, @danielocfb!

Test Plan

Integration test pass. Would be good to add a regression tests for this.