diff options
| author | Peter LaFosse <peter@vector35.com> | 2018-07-13 11:20:49 -0400 |
|---|---|---|
| committer | Peter LaFosse <peter@vector35.com> | 2018-07-13 11:20:49 -0400 |
| commit | 30bbb5a8a18183e8e7921ddd047c4cdd14c360ea (patch) | |
| tree | 37fd1d15c6b85572caf83bcf172e97949aa74f59 /python/basicblock.py | |
| parent | d0c8cf49ecb114b81007920b2e4e2b1ae168dbc4 (diff) | |
| parent | 838cb56a8505fc78d09befedd58dd632eeb2ee62 (diff) | |
Merging with dev
Diffstat (limited to 'python/basicblock.py')
| -rw-r--r-- | python/basicblock.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/python/basicblock.py b/python/basicblock.py index c55e15f0..a79b53ad 100644 --- a/python/basicblock.py +++ b/python/basicblock.py @@ -312,6 +312,8 @@ class BasicBlock(object): inst_info = self.arch.get_instruction_info(data, idx) inst_text = self.arch.get_instruction_text(data, idx) + if inst_info is None: + break yield inst_text idx += inst_info.length |
