Skip to content

Commit

Permalink
change to a proper translation for async notice
Browse files Browse the repository at this point in the history
  • Loading branch information
QGrain committed Mar 13, 2024
1 parent f96847c commit 5fec822
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sources/syzkaller/program_syntax.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,6 @@ close(r0)
```

设置 `async` 标志时,请注意以下注意事项:
* 只能在线程模式下被执行的程序(如必须给 `syz-executor` 传入 `-threaded` 标志的程序)。
* 带有 `async` 属性的程序只能在线程模式下执行(即必须将 `-threaded` 标志传递给 `syz-executor`)。
* 每个带有 `async` 属性的调用都在单独的线程中执行,并且有一个可用线程数量上限(`kMaxThreads = 16`)。
* 如果一个带有 `async` 属性的调用生成了资源,请记住其他的调用可能会将其作为输入。如果届时生成资源的调用尚未执行完毕,`syz-executor` 将会将 0 作为参数传入依赖该资源的调用。

0 comments on commit 5fec822

Please sign in to comment.