diff options
author | bloodstalker <thabogre@gmail.com> | 2018-06-04 00:13:03 +0000 |
---|---|---|
committer | bloodstalker <thabogre@gmail.com> | 2018-06-04 00:13:03 +0000 |
commit | efae8398853d1494a17351f855e261867922ba44 (patch) | |
tree | 049d49c9f8a4fa58b42d36804035de6f6e82c39b /extra-tools/tablegen-test | |
parent | fixed a bug with default.lua. added the blueprint for the wasm interface to b... (diff) | |
download | mutator-efae8398853d1494a17351f855e261867922ba44.tar.gz mutator-efae8398853d1494a17351f855e261867922ba44.zip |
fixes #40
Diffstat (limited to 'extra-tools/tablegen-test')
-rw-r--r-- | extra-tools/tablegen-test/post.txt | 1 | ||||
-rw-r--r-- | extra-tools/tablegen-test/pre.txt | 2 | ||||
-rwxr-xr-x | extra-tools/tablegen-test/run.sh | 4 |
3 files changed, 7 insertions, 0 deletions
diff --git a/extra-tools/tablegen-test/post.txt b/extra-tools/tablegen-test/post.txt new file mode 100644 index 0000000..e27cdda --- /dev/null +++ b/extra-tools/tablegen-test/post.txt @@ -0,0 +1 @@ +// bye bye diff --git a/extra-tools/tablegen-test/pre.txt b/extra-tools/tablegen-test/pre.txt new file mode 100644 index 0000000..0819fdc --- /dev/null +++ b/extra-tools/tablegen-test/pre.txt @@ -0,0 +1,2 @@ +enum jmp_type {NONE=0, JMP=1, JNE=2, JE=3}; +#define JMP_T enum jmp_type diff --git a/extra-tools/tablegen-test/run.sh b/extra-tools/tablegen-test/run.sh new file mode 100755 index 0000000..f9eda4d --- /dev/null +++ b/extra-tools/tablegen-test/run.sh @@ -0,0 +1,4 @@ +#!/usr/bin/bash +cd $(dirname $0) +../luatablegen.py --tbg ../wasmtablegen.json --out ./ --luaheader ../../bruiser/lua-5.3.4/src --pre ./pre.txt --post ./post.txt +less ./jmp_s_t_tablegen.h |