diff options
author | bloodstalker <thabogre@gmail.com> | 2018-09-30 13:20:06 +0000 |
---|---|---|
committer | bloodstalker <thabogre@gmail.com> | 2018-09-30 13:20:06 +0000 |
commit | b7683b916293c0567db6e7c5e9cc14190b904398 (patch) | |
tree | 03097123542e939917c8272a8911fbae003d180c | |
parent | fixes #5 (diff) | |
download | faultreiber-b7683b916293c0567db6e7c5e9cc14190b904398.tar.gz faultreiber-b7683b916293c0567db6e7c5e9cc14190b904398.zip |
update
-rwxr-xr-x | main.py | 4 | ||||
-rwxr-xr-x | run.sh | 4 |
2 files changed, 4 insertions, 4 deletions
@@ -48,11 +48,11 @@ def type_resolver(elem, elem_list): elif type_str == "bool": return "uint8_t" elif type_str == "uchar": - return "int8_t" + return "uint8_t" elif type_str == "schar": return "schar_t" elif type_str == "string": - return "char*" + return "unsigned char*" elif type_str == "FT::conditional": return "void*" elif type_str.find("self::") == 0: @@ -1,5 +1,5 @@ #!/bin/sh cd $(dirname $0) -#"./faultreiber.py" --targetname autowasm --outdir ./test/ --structs ./test/struct.json --xml ./resources/wasm.xml --name wasm --calloc -"./faultreiber.py" --targetname autowasm --outdir ./test/ --structs ./test/struct.json --xml ./resources/wasm.xml --name wasm +"./faultreiber.py" --targetname autowasm --outdir ./test/ --structs ./test/struct.json --xml ./resources/wasm.xml --name wasm --calloc +#"./faultreiber.py" --targetname autowasm --outdir ./test/ --structs ./test/struct.json --xml ./resources/wasm.xml --name wasm "clang-format" -i ./test/read.c ./test/structs.c ./test/structs.h ./test/aggregate.c ./test/aggregate.h ./test/read.h |