Skip to content

Commit

Permalink
fix the idautils.CodeRefsTo()
Browse files Browse the repository at this point in the history
  • Loading branch information
bjchan9an committed Nov 24, 2020
1 parent 660f36e commit 297d87c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion idb/idapython.py
Original file line number Diff line number Diff line change
Expand Up @@ -2487,7 +2487,7 @@ def CodeRefsTo(self, ea, flow):
# get all the code xrefs to this instruction.
# a code xref is like a fallthrough or jump, not like a call.
for xref in idb.analysis.get_crefs_to(
self.idb, ea, types=[idaapi.fl_JN, idaapi.fl_JF, idaapi.fl_F]
self.idb, ea, types=[idaapi.fl_JN, idaapi.fl_JF, idaapi.fl_F, idaapi.fl_CN, idaapi.fl_CF]
):
yield xref.frm

Expand Down

0 comments on commit 297d87c

Please sign in to comment.