You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is kind of expected (as you clearly say you only support Linux and Mac right now), but findshlibs doesn't work on OpenBSD:
extern crate findshlibs;
use findshlibs::{Segment, SharedLibrary, TargetSharedLibrary};
fn main() {
println!("hello");
TargetSharedLibrary::each(|shlib| {
println!("{}", shlib.name().to_string_lossy());
for seg in shlib.segments() {
println!(" {}: segment {}",
seg.actual_virtual_memory_address(shlib),
seg.name());
}
});
println!("/hello");
}
prints:
hello
/hello
It probably isn't difficult to get this working on OpenBSD. Before I heard of findshlibs I wrote a similar lib called phdrs which does work on OpenBSD. IIRC the callback struct is a little different, but the API is pretty much the same.
Hi,
This is kind of expected (as you clearly say you only support Linux and Mac right now), but
findshlibs
doesn't work on OpenBSD:prints:
It probably isn't difficult to get this working on OpenBSD. Before I heard of
findshlibs
I wrote a similar lib calledphdrs
which does work on OpenBSD. IIRC the callback struct is a little different, but the API is pretty much the same.https://github.com/softdevteam/phdrs/
The text was updated successfully, but these errors were encountered: