g1144146 / SDS

Apache License 2.0
0 stars 0 forks source link

not found common dominator node. #31

Closed g1144146 closed 8 years ago

g1144146 commented 8 years ago

maybe, because of searching common dominator node between one node and root node.

g1144146 commented 8 years ago

when edge count of one node equals 2 and edges contain edge of toward root node, the bug occurs.

g1144146 commented 8 years ago

when searching dominator node in two node, DominatorNodeSearcher class doesn't cope with case of second node is root.

g1144146 commented 8 years ago

when using switch statement for string, the node has two switch instructions. and, the node contains some branch instructions. (e.g. ifeq, goto and so on.) in the case, the node type cannot rightly define.

g1144146 commented 8 years ago

define children nodes from second switch statement of the node.