From 71b69bce18bae3863a8033d0d5228fc3dca203ab Mon Sep 17 00:00:00 2001 From: bloodstalker Date: Mon, 9 Mar 2020 23:47:26 +0330 Subject: mostly bug fixes for the misra-c rule checker --- bruiser/lua-scripts/libwasm32.lua | 3 ++- bruiser/lua-scripts/wasmtest.lua | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'bruiser/lua-scripts') 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") -- cgit v1.2.3