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

Function simplify

androguard/decompiler/dad/graph.py:281–335  ·  view source on GitHub ↗

Simplify the CFG by merging/deleting statement nodes when possible: If statement B follows statement A and if B has no other predecessor besides A, then we can merge A and B into a new statement node. We also remove nodes which do nothing except redirecting the control flow (nod

(graph)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

processMethod · 0.90

Calls 12

all_sucsMethod · 0.45
get_insMethod · 0.45
all_predsMethod · 0.45
update_attribute_withMethod · 0.45
sucsMethod · 0.45
add_catch_edgeMethod · 0.45
add_edgeMethod · 0.45
remove_nodeMethod · 0.45
add_insMethod · 0.45
getMethod · 0.45
addMethod · 0.45

Tested by

no test coverage detected