diff options
| author | Ajax <commial@gmail.com> | 2016-01-08 15:40:04 +0100 |
|---|---|---|
| committer | Ajax <commial@gmail.com> | 2016-01-08 16:06:24 +0100 |
| commit | ee293b843e56b77b9bfd1b01dc3ce94b5340a5d4 (patch) | |
| tree | 715da7a3c312e5675a53f109b5cfe73f455c1130 /miasm2/core/bin_stream_ida.py | |
| parent | 65cc029e58ddce3b9de3bc3d0fca5b6dcb00755c (diff) | |
| download | miasm-ee293b843e56b77b9bfd1b01dc3ce94b5340a5d4.tar.gz miasm-ee293b843e56b77b9bfd1b01dc3ce94b5340a5d4.zip | |
BinStream: use the wrapper on get_bytes for each bin stream
Diffstat (limited to 'miasm2/core/bin_stream_ida.py')
| -rw-r--r-- | miasm2/core/bin_stream_ida.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/miasm2/core/bin_stream_ida.py b/miasm2/core/bin_stream_ida.py index 1610f8ca..ee3dcec3 100644 --- a/miasm2/core/bin_stream_ida.py +++ b/miasm2/core/bin_stream_ida.py @@ -11,7 +11,7 @@ class bin_stream_ida(bin_stream_str): Don't generate xrange using address computation: It can raise error on overflow 7FFFFFFF with 32 bit python """ - def getbytes(self, start, l=1): + def _getbytes(self, start, l=1): o = "" for ad in xrange(l): o += chr(Byte(ad + start - self.shift)) |