aboutsummaryrefslogtreecommitdiffstats
path: root/executor/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'executor/common.h')
-rw-r--r--executor/common.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/executor/common.h b/executor/common.h
index d6e9d5b10..a3f442edc 100644
--- a/executor/common.h
+++ b/executor/common.h
@@ -462,7 +462,7 @@ static void loop(void)
int collide = 0;
again:
#endif
- for (call = 0; call < /*NUM_CALLS*/; call++) {
+ for (call = 0; call < /*{{{NUM_CALLS}}}*/; call++) {
for (thread = 0; thread < (int)(sizeof(threads) / sizeof(threads[0])); thread++) {
struct thread_t* th = &threads[thread];
if (!th->created) {
@@ -482,7 +482,7 @@ again:
if (collide && (call % 2) == 0)
break;
#endif
- event_timedwait(&th->done, /*CALL_TIMEOUT*/);
+ event_timedwait(&th->done, /*{{{CALL_TIMEOUT}}}*/);
break;
}
}
@@ -535,7 +535,7 @@ static void loop(void)
#endif
int iter;
#if SYZ_REPEAT_TIMES
- for (iter = 0; iter < /*REPEAT_TIMES*/; iter++) {
+ for (iter = 0; iter < /*{{{REPEAT_TIMES}}}*/; iter++) {
#else
for (iter = 0;; iter++) {
#endif
@@ -659,9 +659,9 @@ static void loop(void)
#endif
#if !SYZ_EXECUTOR
-/*SYSCALL_DEFINES*/
+/*{{{SYSCALL_DEFINES}}}*/
-/*RESULTS*/
+/*{{{RESULTS}}}*/
#if SYZ_THREADED || SYZ_REPEAT || SYZ_SANDBOX_NONE || SYZ_SANDBOX_SETUID || SYZ_SANDBOX_NAMESPACE || SYZ_SANDBOX_ANDROID
#if SYZ_THREADED
@@ -672,7 +672,7 @@ void execute_one(void)
void loop(void)
#endif
{
- /*SYSCALLS*/
+ /*{{{SYSCALLS}}}*/
#if SYZ_HAVE_CLOSE_FDS && !SYZ_THREADED && !SYZ_REPEAT
close_fds();
#endif
@@ -685,7 +685,7 @@ void loop(void)
int main(int argc, char** argv)
{
- /*MMAP_DATA*/
+ /*{{{MMAP_DATA}}}*/
program_name = argv[0];
if (argc == 2 && strcmp(argv[1], "child") == 0)
@@ -693,7 +693,7 @@ int main(int argc, char** argv)
#else
int main(void)
{
- /*MMAP_DATA*/
+ /*{{{MMAP_DATA}}}*/
#endif
#if SYZ_BINFMT_MISC
@@ -716,13 +716,13 @@ int main(void)
install_segv_handler();
#endif
#if SYZ_MULTI_PROC
- for (procid = 0; procid < /*PROCS*/; procid++) {
+ for (procid = 0; procid < /*{{{PROCS}}}*/; procid++) {
if (fork() == 0) {
#endif
#if SYZ_USE_TMP_DIR || SYZ_SANDBOX_ANDROID
use_temporary_dir();
#endif
- /*SANDBOX_FUNC*/
+ /*{{{SANDBOX_FUNC}}}*/
#if SYZ_HAVE_CLOSE_FDS && !SYZ_THREADED && !SYZ_REPEAT && !SYZ_SANDBOX_NONE && \
!SYZ_SANDBOX_SETUID && !SYZ_SANDBOX_NAMESPACE && !SYZ_SANDBOX_ANDROID
close_fds();