diff options
| author | serpilliere <devnull@localhost> | 2014-06-19 10:49:20 +0200 |
|---|---|---|
| committer | serpilliere <devnull@localhost> | 2014-06-19 10:49:20 +0200 |
| commit | d5a38769bfbd94ed46bf654c4dac1733e088d5bf (patch) | |
| tree | 741b6b7a45dcc24456b3cc311b65e34e03c22b1d | |
| parent | 5023baebac24889e44f1ee04f0ad9fcdcaab7b29 (diff) | |
| download | miasm-d5a38769bfbd94ed46bf654c4dac1733e088d5bf.tar.gz miasm-d5a38769bfbd94ed46bf654c4dac1733e088d5bf.zip | |
Win api: fix api (tx a.guinet)
| -rw-r--r-- | miasm2/jitter/os_dep/win_api_x86_32.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/miasm2/jitter/os_dep/win_api_x86_32.py b/miasm2/jitter/os_dep/win_api_x86_32.py index b6813efc..24ab3ea2 100644 --- a/miasm2/jitter/os_dep/win_api_x86_32.py +++ b/miasm2/jitter/os_dep/win_api_x86_32.py @@ -1159,7 +1159,7 @@ def ntdll_RtlInitAnsiString(myjit): s = get_str_ansi(myjit, ad_str) l = len(s) print "string", l, s - myjit.vm.vm_set_mem(ad_ctx, pw(l) + pw(l + 1) + pck32(ad_str)) + myjit.vm.vm_set_mem(ad_ctx, pck16(l) + pck16(l + 1) + pck32(ad_str)) myjit.func_ret_stdcall(ret_ad, 0) |