diff options
author | bloodstalker <thabogre@gmail.com> | 2018-07-22 13:01:57 +0000 |
---|---|---|
committer | bloodstalker <thabogre@gmail.com> | 2018-07-22 13:01:57 +0000 |
commit | b88c0585fedfb24e8cee1b763b55dddbdd50e953 (patch) | |
tree | 9e201affd6167d01403af3f68aa85f5047f96577 /test/autowasm.c | |
parent | update (diff) | |
download | faultreiber-b88c0585fedfb24e8cee1b763b55dddbdd50e953.tar.gz faultreiber-b88c0585fedfb24e8cee1b763b55dddbdd50e953.zip |
update
Diffstat (limited to '')
-rw-r--r-- | test/autowasm.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/autowasm.c b/test/autowasm.c index 5151898..84cdf9d 100644 --- a/test/autowasm.c +++ b/test/autowasm.c @@ -5,6 +5,8 @@ #include <stdlib.h> #include <unistd.h> +#include "./read.c" + uint64_t read_leb128_u(int _fd, int max_size) { uint8_t read_bytes = 0U; uint8_t byte = 0; @@ -64,7 +66,7 @@ int main (int argc, char** argv) { printf("read u res is: %lu.\n", test_u); lseek(wasm, 0, SEEK_SET); while(read(wasm, &word, sizeof(uint32_t))) { - //printf("%d:%02x\t", counter, word); + printf("%d:%02x\t", counter, word); counter++; } printf("\n"); |