aboutsummaryrefslogtreecommitdiffstats
path: root/bruiser
diff options
context:
space:
mode:
authorbloodstalker <thabogre@gmail.com>2020-03-09 20:17:26 +0000
committerbloodstalker <thabogre@gmail.com>2020-03-09 20:17:26 +0000
commit71b69bce18bae3863a8033d0d5228fc3dca203ab (patch)
tree9e6c8986d6a3879d18fce212c7eeb83721e59dc9 /bruiser
parentreadme update [ci skip] (diff)
downloadmutator-71b69bce18bae3863a8033d0d5228fc3dca203ab.tar.gz
mutator-71b69bce18bae3863a8033d0d5228fc3dca203ab.zip
mostly bug fixes for the misra-c rule checker
Diffstat (limited to 'bruiser')
-rw-r--r--bruiser/lua-scripts/libwasm32.lua3
-rw-r--r--bruiser/lua-scripts/wasmtest.lua1
2 files changed, 3 insertions, 1 deletions
diff --git a/bruiser/lua-scripts/libwasm32.lua b/bruiser/lua-scripts/libwasm32.lua
index 0f7ad11..9fafa18 100644
--- a/bruiser/lua-scripts/libwasm32.lua
+++ b/bruiser/lua-scripts/libwasm32.lua
@@ -39,8 +39,9 @@ function libwasm.dump_import_section(a)
if v:kind() == 0 then
print()
io.write("kind:"..tostring(v:type()).."\n")
+ --FIXME
elseif v:kind() == 1 then
- io.write("element_type:"..v:type():element_type().."\n")
+ --io.write("element_type:"..v:type():element_type().."\n")
--io.write("rsz:"..v:type():resizable_limit().."\t")
--io.write("flags:"..v:type():resizable_limit():flags().."\t")
--io.write("init:"..v:type():resizable_limit():init().."\t")
diff --git a/bruiser/lua-scripts/wasmtest.lua b/bruiser/lua-scripts/wasmtest.lua
index 0c2e04f..5360207 100644
--- a/bruiser/lua-scripts/wasmtest.lua
+++ b/bruiser/lua-scripts/wasmtest.lua
@@ -39,6 +39,7 @@ function libwasm.dump_import_section(a)
if v:kind() == 0 then
print()
io.write("kind:"..tostring(v:type()).."\n")
+ --FIXME
elseif v:kind() == 1 then
io.write("element_type:"..v:type():element_type().."\n")
--io.write("rsz:"..v:type():resizable_limit().."\t")