From 3284a7297d7776f64740b74233db57c53fc5ff4f Mon Sep 17 00:00:00 2001 From: guochao Date: Thu, 2 Nov 2023 00:07:38 +0800 Subject: [PATCH] fix command in readme --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index cea6461..d4430c1 100644 --- a/README.md +++ b/README.md @@ -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。