aboutsummaryrefslogtreecommitdiffstats
path: root/test/autowasm.c
diff options
context:
space:
mode:
authorbloodstalker <thabogre@gmail.com>2018-09-11 20:46:29 +0000
committerbloodstalker <thabogre@gmail.com>2018-09-11 20:46:29 +0000
commit07298b03567f75a9fec7e7722dec731fbcc7fef4 (patch)
tree24daa803b72ac0b7b1cf3ecdaa8387d1c57c7d36 /test/autowasm.c
parentupdate (diff)
downloadfaultreiber-07298b03567f75a9fec7e7722dec731fbcc7fef4.tar.gz
faultreiber-07298b03567f75a9fec7e7722dec731fbcc7fef4.zip
update
Diffstat (limited to 'test/autowasm.c')
-rw-r--r--test/autowasm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/autowasm.c b/test/autowasm.c
index 37bbbe5..87478c1 100644
--- a/test/autowasm.c
+++ b/test/autowasm.c
@@ -14,10 +14,12 @@
int main (int argc, char** argv) {
int wasm = open("./test.wasm", O_RDONLY);
wasm_lib_ret_t* lib_ret = read_aggr_wasm(wasm);
+ printf("finished reading\n");
printf("magic_number:%x\n", lib_ret->obj->magic_number_container->magic_number);
printf("version:%x\n", lib_ret->obj->version_container->version);
+ printf("fuck\n");
printf("type section id:%d\n", lib_ret->obj->W_Type_Section_container->id);
printf("type section payloadlength:%d\n", lib_ret->obj->W_Type_Section_container->payloadlength);
printf("type_section entry count:%d\n", lib_ret->obj->W_Type_Section_container->count);