We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 98a8165 commit 3c25682Copy full SHA for 3c25682
util.py
@@ -34,7 +34,7 @@ def gather_defs(il, defs):
34
35
def llil_at(bv, addr):
36
funcs = bv.get_functions_containing(addr)
37
- if funcs is None:
+ if not funcs:
38
return None
39
40
return funcs[0].get_low_level_il_at(addr)
@@ -51,4 +51,4 @@ def is_call(bv, addr):
51
def get_func_containing(bv, addr):
52
""" Finds the function, if any, containing the given address """
53
54
- return funcs[0] if funcs is not None else None
+ return funcs[0] if funcs else None
0 commit comments