Closed AlfredThiel closed 2 years ago
The description about some key data structures, i.e., basic block, instruction and function, is added in commit 7edc966
The file cfg.py
and graph.py
is refactored and add necessary comments.
However, the refactor of DFS-traversal algorithm is postponed, please refer to #39. Also, some work still need to be done on graph.py
, see #40.
I will temporarily close this issue and if you @AlfredThiel have any problems, please reopen this issue and add necessary information and description. The following refactoring work on graph.py
will still perform on branch refine-graph, which I will not delete right now.
Is your feature request related to a problem? Please describe. For the convenience of future development, it is of great importance to organize the project code in a neat and well-structured way. This issue is one request for data structure refactoring. Some of refactoring targets:
Describe the solution you'd like Since most of the crucial functions in this engine manipulate some basic data structures, it will be quite helpful if the purposes of the members (both fields and methods) of those devised classes are listed at the very beginning of the classes/methods. The interpretative comment can be of any sort you like. For example:
Describe alternatives you've considered /
Additional context /