about summary refs log tree commit diff stats
path: root/miasm2/core/parse_asm.py
diff options
context:
space:
mode:
authorFabrice Desclaux <fabrice.desclaux@cea.fr>2015-02-11 10:44:24 +0100
committerFabrice Desclaux <fabrice.desclaux@cea.fr>2015-02-11 13:27:14 +0100
commit74cc70d786c73dcf7369349976761276f6940a58 (patch)
tree32ff9a521480739dc83a511e8398a92850226b0f /miasm2/core/parse_asm.py
parentdc916d52815feee22cc81a29fe1272278d4caefc (diff)
downloadmiasm-74cc70d786c73dcf7369349976761276f6940a58.tar.gz
miasm-74cc70d786c73dcf7369349976761276f6940a58.zip
bin_stream: clean code and update API
The __len__ cannot be used any more in bin_stream: Python returns an int object,
which will cap values to 0x7FFFFFFF on 32 bit systems. A binary can have a base
address higher than this, making it impossible to handle such programs.

The __len__ is replaced by a call to getlen.

Elfesteem needs an update to support 'max_addr' API in order to retrieve the
elf/pe max virtual address.
Diffstat (limited to 'miasm2/core/parse_asm.py')
0 files changed, 0 insertions, 0 deletions