solana-labs / rbpf

Rust virtual machine and JIT compiler for eBPF programs
Apache License 2.0
277 stars 169 forks source link

Refactor - dissolve text section enum #581

Closed Lichtso closed 3 months ago

Lichtso commented 3 months ago

The Section enum for Executable::text_section has a Section::Owned variant which is never used. Also, the virtual address could be absolute instead of relative (see https://github.com/solana-labs/rbpf/pull/553#discussion_r1670889331).