diff options
| author | Florent Monjalet <florent.monjalet@gmail.com> | 2016-01-18 14:04:20 +0100 |
|---|---|---|
| committer | Florent Monjalet <florent.monjalet@gmail.com> | 2016-01-18 14:05:41 +0100 |
| commit | b421c5059f2a7bfd47b5bdf4c3488a3e8bda5b40 (patch) | |
| tree | 0141677568133df85287f225ed5703df03352214 /example/jitter/types.py | |
| parent | f001fa5ee6a117fdae1765ba0a036142f1c49259 (diff) | |
| download | miasm-b421c5059f2a7bfd47b5bdf4c3488a3e8bda5b40.tar.gz miasm-b421c5059f2a7bfd47b5bdf4c3488a3e8bda5b40.zip | |
Types: misleading comment correction in example
Diffstat (limited to 'example/jitter/types.py')
| -rw-r--r-- | example/jitter/types.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/example/jitter/types.py b/example/jitter/types.py index e714372c..c37c3b84 100644 --- a/example/jitter/types.py +++ b/example/jitter/types.py @@ -239,7 +239,7 @@ print "3 arguments argv type:", argv_t # alloc argv somewhere argv = argv_t.lval(vm) -# Auto alloc with a buffer type +# Auto alloc with the MemStr.from_str helper MemStrAnsi = Str().lval argv[0].val = MemStrAnsi.from_str(vm, "./my-program").get_addr() argv[1].val = MemStrAnsi.from_str(vm, "arg1").get_addr() |