aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/csource
diff options
context:
space:
mode:
authorAleksandr Nogikh <nogikh@google.com>2023-06-14 17:30:52 +0200
committerDmitry Vyukov <dvyukov@google.com>2023-06-15 09:41:32 +0200
commit4f4c106e98f85b8e1dd03e9fcfeef9710668b023 (patch)
treef881e23723e850adc56d366192c9c3f34c3075ab /pkg/csource
parentff5fb3046c399ee921d31b80e8ec86c73c7d7553 (diff)
executor: move setup_ext() below other features
It makes these extentions much more flexible as they can now also customize what other features set up.
Diffstat (limited to 'pkg/csource')
-rw-r--r--pkg/csource/generated.go7
1 files changed, 3 insertions, 4 deletions
diff --git a/pkg/csource/generated.go b/pkg/csource/generated.go
index 0b4252aa1..8c80cc363 100644
--- a/pkg/csource/generated.go
+++ b/pkg/csource/generated.go
@@ -12621,9 +12621,6 @@ int main(void)
/*{{{MMAP_DATA}}}*/
#endif
-#if SYZ_HAVE_SETUP_EXT
- setup_ext();
-#endif
#if SYZ_SYSCTL
setup_sysctl();
#endif
@@ -12648,10 +12645,12 @@ int main(void)
#if SYZ_802154
setup_802154();
#endif
-
#if SYZ_HANDLE_SEGV
install_segv_handler();
#endif
+#if SYZ_HAVE_SETUP_EXT
+ setup_ext();
+#endif
#if SYZ_MULTI_PROC
for (procid = 0; procid < /*{{{PROCS}}}*/; procid++) {
if (fork() == 0) {