This is still not a totally correct calculation, some applications such as Rust + musl get their executable segments loaded in a way that we don't recognise yet, but this fixes cases where the loader decides to split the image in more than 2 segments.
This is still not a totally correct calculation, some applications such as Rust + musl get their executable segments loaded in a way that we don't recognise yet, but this fixes cases where the loader decides to split the image in more than 2 segments.
Test Plan