GitHunt
RO

robberphex/rust-executable-so

rust executable so

rust executable so

  1. libexample.so could be load by entry.
  2. libexample.so could be execute directly.

How to run

$ cargo build
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.18s
$ ./target/debug/entry
This is a message from libexample.so.
This is a message from entry main.
$ ./target/debug/libexample.so
This is a message from libexample.so.
This is a message from libexample.so's _start

Languages

Rust100.0%

Contributors

Created March 6, 2025
Updated April 2, 2025
robberphex/rust-executable-so | GitHunt