MCPcopy Create free account
hub / github.com/codehasan/dex2c / update_chain

Function update_chain

androguard/decompiler/dad/dataflow.py:82–115  ·  view source on GitHub ↗

Updates the DU chain of the instruction located at loc such that there is no more reference to it so that we can remove it. When an instruction is found to be dead (i.e it has no side effect, and the register defined is not used) we have to update the DU chain of all the variabl

(graph, loc, du, ud)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

dead_code_eliminationFunction · 0.85

Calls 8

popMethod · 0.80
get_ins_from_locMethod · 0.45
get_used_varsMethod · 0.45
getMethod · 0.45
is_callMethod · 0.45
remove_defined_varMethod · 0.45
has_side_effectMethod · 0.45
remove_insMethod · 0.45

Tested by

no test coverage detected