insn: better document when branch va may be none

This commit is contained in:
Willi Ballenthin
2021-02-28 23:03:08 -07:00
committed by GitHub
parent 68fcc03d5c
commit 68aed3c190

View File

@@ -500,6 +500,7 @@ def extract_insn_cross_section_cflow(f, bb, insn):
"""
for va, flags in insn.getBranches():
if va is None:
# va may be none for dynamic branches that haven't been resolved, such as `jmp eax`.
continue
if flags & envi.BR_FALL: