aboutsummaryrefslogtreecommitdiff
path: root/elymas/memdump.ey
diff options
context:
space:
mode:
authorDrahflow <drahflow@gmx.de>2013-12-30 12:47:01 +0100
committerDrahflow <drahflow@gmx.de>2013-12-30 12:47:01 +0100
commit9699795a62506f69cb83fa35cb58e7641690eb5f (patch)
tree71cc375ec013108f655e7a3c3582b105372a5281 /elymas/memdump.ey
parent665ecd4b714771b2e69384991a1043bcfcde3f72 (diff)
Zero-terminated file name
Diffstat (limited to 'elymas/memdump.ey')
-rw-r--r--elymas/memdump.ey2
1 files changed, 1 insertions, 1 deletions
diff --git a/elymas/memdump.ey b/elymas/memdump.ey
index 8643078..d86f095 100644
--- a/elymas/memdump.ey
+++ b/elymas/memdump.ey
@@ -30,7 +30,7 @@ txt .consume .|hu "%" deffd
sys .linux "+" via
<
- "shared" +ORDONLY 0 +open ==fd
+ "shared\0" +ORDONLY 0 +open ==fd
fd +fstat -- # TODO: handle errors
.size ==s
ELFBASE s +PROTREAD +MAPPRIVATE fd 0 +mmap ELFBASE eq assert