From 0b9c659c03121b32242502f982d5526a1cb2adfe Mon Sep 17 00:00:00 2001 From: bloodstalker Date: Sat, 11 Aug 2018 22:55:02 +0430 Subject: readme update --- test/autowasm.c | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'test') diff --git a/test/autowasm.c b/test/autowasm.c index 4054f48..0f81225 100644 --- a/test/autowasm.c +++ b/test/autowasm.c @@ -125,6 +125,16 @@ int main (int argc, char** argv) { printf("%c ", W_Data_Section_container->entries[i]->data[j]); } printf("\n"); + int j = 0; + printf("offset:\n"); + while(1) { + printf("%02x ", W_Data_Section_container->entries[i]->offset->code[j]); + if (W_Data_Section_container->entries[i]->offset->code[j] == 11) { + break; + } + j++; + } + printf("\n"); } release_all(); -- cgit v1.2.3