aboutsummaryrefslogtreecommitdiffstats
path: root/test/autowasm.c
diff options
context:
space:
mode:
authorbloodstalker <thabogre@gmail.com>2018-07-29 10:50:23 +0000
committerbloodstalker <thabogre@gmail.com>2018-07-29 10:50:23 +0000
commitdf65265fc3cf27c23bafaf5263d54c30e734def0 (patch)
treee77b5dd9254a806606c2b93e0dd42cdd0223c88f /test/autowasm.c
parentupdate (diff)
downloadfaultreiber-df65265fc3cf27c23bafaf5263d54c30e734def0.tar.gz
faultreiber-df65265fc3cf27c23bafaf5263d54c30e734def0.zip
update
Diffstat (limited to '')
-rw-r--r--test/autowasm.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/test/autowasm.c b/test/autowasm.c
index 84cdf9d..3d39e44 100644
--- a/test/autowasm.c
+++ b/test/autowasm.c
@@ -37,13 +37,6 @@ int64_t read_leb128_s(int _fd, int max_size) {
return result;
}
-#define READ_VAR_UINT_1(FD) read_leb128_u(FD, 1)
-#define READ_VAR_UINT_7(FD) read_leb128_u(FD, 1)
-#define READ_VAR_UINT_32(FD) read_leb128_u(FD, 5)
-#define READ_VAR_INT_1(FD) read_leb128_s(FD, 1)
-#define READ_VAR_INT_7(FD) read_leb128_s(FD, 1)
-#define READ_VAR_INT_32(FD) read_leb128_s(FD, 5)
-
#pragma weak main
int main (int argc, char** argv) {
int wasm = open("./test.wasm", O_RDONLY);