aboutsummaryrefslogtreecommitdiffstats
path: root/text.py
diff options
context:
space:
mode:
authorbloodstalker <thabogre@gmail.com>2018-08-10 14:48:52 +0000
committerbloodstalker <thabogre@gmail.com>2018-08-10 14:48:52 +0000
commita1cd8204343a4e4c173691dc646c85f883d76bad (patch)
tree41dafb4a93502d5ec0faf19387560e059b837ba1 /text.py
parentupdate (diff)
downloadfaultreiber-a1cd8204343a4e4c173691dc646c85f883d76bad.tar.gz
faultreiber-a1cd8204343a4e4c173691dc646c85f883d76bad.zip
update
Diffstat (limited to 'text.py')
-rw-r--r--text.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/text.py b/text.py
index 6877897..2562311 100644
--- a/text.py
+++ b/text.py
@@ -33,7 +33,9 @@ class text():
c_read_4 = "read(_fd, &XXX, sizeof(uint32_t));\n"
c_read_8 = "read(_fd, &XXX, sizeof(uint64_t));\n"
c_read_gen = "read(_fd, &XXX, sizeof(YYY));\n"
+ c_read_gen_no = "read(_fd, XXX, sizeof(YYY));\n"
c_read_gen_2 = "read(_fd, &XXX, YYY);\n"
+ c_read_gen_2_no = "read(_fd, XXX, YYY);\n"
c_assign_struct = "XXX.YYY = ZZZ;\n"
simple_loop = "for (int i = 0; i < XXX; ++i) {\nYYY}\n"
c_read_leb_u_def = """