aboutsummaryrefslogtreecommitdiffstats
path: root/test/autowasm.c
diff options
context:
space:
mode:
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);