Explorar el Código

Remove redundant truthy check

nosoop hace 10 meses
padre
commit
20c5a90aa0
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/smgdc/angr/vtable_disamb.py

+ 1 - 1
src/smgdc/angr/vtable_disamb.py

@@ -365,7 +365,7 @@ class VtableDisambiguator(angr.Analysis):
                     function_list.append(VTableFunction(table_index, {call_unexpected}))
                     continue
 
-                fnsyms = set(self.syms_by_addr.get(vptr) or set()) if vptr else set()
+                fnsyms = set(self.syms_by_addr.get(vptr) or set())
 
                 if len(fnsyms) == 1:
                     function_list.append(VTableFunction(table_index, fnsyms))