fix command in readme
This commit is contained in:
parent
bc6ed96d43
commit
3284a7297d
@ -33,8 +33,9 @@ strace -f --output x2t-syscalls.txt /path/to/x2t some.xml
|
||||
cargo 开启 tracing-mode 后,宏找不到环境变量和文件不会失败,可以直接生成一个。
|
||||
|
||||
```
|
||||
cargo run --features tracing-mode -- -l x2t-syscalls.txt /path/to/x2t some.xml
|
||||
sort x2t-syscalls.txt < uniq | sponge > x2t-syscalls.txt
|
||||
RUST_LOG=trace cargo run --features tracing-mode -- -l x2t-syscalls.txt /path/to/x2t some.xml
|
||||
cat x2t-syscalls.txt | sort | uniq | sponge x2t-syscalls.txt
|
||||
cargo build
|
||||
```
|
||||
|
||||
更新 syscall 列表后重新构建二进制会生成新的 sandbox。
|
||||
|
Loading…
x
Reference in New Issue
Block a user