From 4f4c106e98f85b8e1dd03e9fcfeef9710668b023 Mon Sep 17 00:00:00 2001 From: Aleksandr Nogikh Date: Wed, 14 Jun 2023 17:30:52 +0200 Subject: 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. --- pkg/csource/generated.go | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'pkg/csource/generated.go') 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) { -- cgit mrf-deployment