mirror of
https://github.com/mandiant/capa.git
synced 2025-12-12 15:49:46 -08:00
lancelot: off-by-one instruction enumerator
This commit is contained in:
@@ -36,7 +36,7 @@ class BB(object):
|
||||
@property
|
||||
def instructions(self):
|
||||
va = self.address
|
||||
while va <= self.address + self.length:
|
||||
while va < self.address + self.length:
|
||||
try:
|
||||
insn = self.ws.read_insn(va)
|
||||
except ValueError:
|
||||
|
||||
Reference in New Issue
Block a user