diff options
| author | serpilliere <devnull@localhost> | 2012-12-03 11:04:29 +0100 |
|---|---|---|
| committer | serpilliere <devnull@localhost> | 2012-12-03 11:04:29 +0100 |
| commit | deb4200cf4b13039dea5b889d3f4cb47e8bd3221 (patch) | |
| tree | 41529bc92435926c9cb530898c1d8806a2596e1d /example/asm_x86.py | |
| parent | db218bfa167662eec12c2016472399e858d621ba (diff) | |
| download | miasm-deb4200cf4b13039dea5b889d3f4cb47e8bd3221.tar.gz miasm-deb4200cf4b13039dea5b889d3f4cb47e8bd3221.zip | |
core: add api set_offset for asm_label (louis granboulan)
Diffstat (limited to 'example/asm_x86.py')
| -rwxr-xr-x | example/asm_x86.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/example/asm_x86.py b/example/asm_x86.py index bbccf25e..82bba972 100755 --- a/example/asm_x86.py +++ b/example/asm_x86.py @@ -56,7 +56,7 @@ eend: ''') #fix shellcode addr -symbol_pool.add(asmbloc.asm_label('base_address', 0x400000)) +symbol_pool.add_label('base_address', 0x400000) symbol_pool.getby_name("main").offset = 0x401000 e.Opthdr.AddressOfEntryPoint = s_text.addr |