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
Yes. LibOS can only run dynamic linked programs because we have to modify libc.so (syscall -> function call).
Static linked programs have syscall instructions in their binary files.
e.g.
chyyuu:zCore$ cargo run --release -p linux-loader -- /libc-test/src/functional/argv-static.exe
Finished release [optimized] target(s) in 0.03s
Running
target/release/linux-loader /libc-test/src/functional/argv-static.exe
段错误 (核心已转储)
chyyuu:zCore$
I also notice:
scripts/libc-tests.py
L22~24:
# ignore static linked tests
if path.endswith('-static.exe'):
continue
These codes mean LibOS mode zCore didn't support static linked tests?
The text was updated successfully, but these errors were encountered: