diff options
author | bloodstalker <thabogre@gmail.com> | 2018-05-28 13:55:37 +0000 |
---|---|---|
committer | bloodstalker <thabogre@gmail.com> | 2018-05-28 13:55:37 +0000 |
commit | 0c522ec5bfee22c7de54987d316cfbf245a8826e (patch) | |
tree | 7023705e17e7d78226b436329f81841db6dfbd9b /bruiser/wasm/test/linker/file0.c | |
parent | load.py is now imported bt another python module, should cut down on startup ... (diff) | |
download | mutator-0c522ec5bfee22c7de54987d316cfbf245a8826e.tar.gz mutator-0c522ec5bfee22c7de54987d316cfbf245a8826e.zip |
added test files for the wasm linker. added two scripts to extra-tools
Diffstat (limited to '')
-rw-r--r-- | bruiser/wasm/test/linker/file0.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/bruiser/wasm/test/linker/file0.c b/bruiser/wasm/test/linker/file0.c new file mode 100644 index 0000000..5eb172b --- /dev/null +++ b/bruiser/wasm/test/linker/file0.c @@ -0,0 +1,20 @@ +#include <stdio.h> +#include <inttypes.h> +#include "file1.c" + +#define CODE_SECTION_0_0 "constant_0_0" +#define CODE_SECTION_0_1 "constant_0_1" +#define CODE_SECTION_0_2 "constant_0_2" +#define CODE_SECTION_0_3 "constant_0_3" +#define CODE_SECTION_0_4 "constant_0_4" + +int g_int_0_0 = 0; +int g_int_0_1 = 1; + +int dummy_f_0_0(int n) { + return n*4; +} + +int main (int argc, char** argv) { + return 123; +} |