diff options
| author | Drahflow <drahflow@gmx.de> | 2013-12-30 12:47:01 +0100 |
|---|---|---|
| committer | Drahflow <drahflow@gmx.de> | 2013-12-30 12:47:01 +0100 |
| commit | 9699795a62506f69cb83fa35cb58e7641690eb5f (patch) | |
| tree | 71cc375ec013108f655e7a3c3582b105372a5281 /elymas/memdump.ey | |
| parent | 665ecd4b714771b2e69384991a1043bcfcde3f72 (diff) | |
Zero-terminated file name
Diffstat (limited to 'elymas/memdump.ey')
| -rw-r--r-- | elymas/memdump.ey | 2 |
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 |
