aboutsummaryrefslogtreecommitdiffstats
path: root/test/autowasm.c
diff options
context:
space:
mode:
authorbloodstalker <thabogre@gmail.com>2018-08-11 18:25:02 +0000
committerbloodstalker <thabogre@gmail.com>2018-08-11 18:25:02 +0000
commit0b9c659c03121b32242502f982d5526a1cb2adfe (patch)
treec083155107ddaef5a856e5196c988f0a17c74472 /test/autowasm.c
parentupdate (diff)
downloadfaultreiber-0b9c659c03121b32242502f982d5526a1cb2adfe.tar.gz
faultreiber-0b9c659c03121b32242502f982d5526a1cb2adfe.zip
readme update
Diffstat (limited to 'test/autowasm.c')
-rw-r--r--test/autowasm.c10
1 files changed, 10 insertions, 0 deletions
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();