mirror of
https://github.com/mandiant/capa.git
synced 2026-02-04 11:07:53 -08:00
insn: better document when branch va may be none
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user