hermit-os/uhyve

Incorrect offsets for non-relocatable binaries

Aperta

#980 aperta il 19 mag 2025

 (6 commenti) (0 reazioni) (0 assegnatari)Rust (35 fork)auto 404
buggood first issue

Metriche repository

Star
 (293 stelle)
Metriche merge PR
 (Merge medio 15h 22m) (29 PR mergiate in 30 g)

Descrizione

Something is broken when debugging non-relocatable binaries. Hermit loads these correct, but reporting the kernel_address as offset (https://github.com/hermit-os/uhyve/blob/08f042ff9e82a1c3bab6143b71bbabb11cc539bb/src/linux/gdb/section_offsets.rs#L7) results in incorrect addresses.

Guida contributor