lancelot: off-by-one instruction enumerator

This commit is contained in:
William Ballenthin
2020-08-10 18:03:40 -06:00
parent 695f1bf55a
commit 3f49a224f5

View File

@@ -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: