Closed kitlith closed 4 years ago
https://github.com/kitlith/microcorruption-dumper/blob/9bd68f9362a0227753381fbaf69a7f0620ca219e/src/lib.rs#L59-L60
Instead of manually figuring out that the section we want to load is the 4th one in the section table, we should create entries for all sections that have the load flag set or something.
We now iterate and find the first section with the PT_LOAD flag set. Good enough for now.
https://github.com/kitlith/microcorruption-dumper/blob/9bd68f9362a0227753381fbaf69a7f0620ca219e/src/lib.rs#L59-L60
Instead of manually figuring out that the section we want to load is the 4th one in the section table, we should create entries for all sections that have the load flag set or something.