Skip to content

Commit 760b21a

Browse files
authored
Merge pull request #23 from bjjwwang/main
sync with SVF, fix compile err
2 parents 609ffaf + 9988ff5 commit 760b21a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Assignment-3/Assignment-3.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,11 +87,11 @@ void AbstractExecution::bufOverflowDetection(const SVF::SVFStmt* stmt) {
8787
/// TODO : Implement the handleCycleWTO function
8888
void AbstractExecution::handleCycleWTO(const ICFGCycleWTO* cycle) {
8989
// Get execution states from in edges
90-
bool is_feasible = mergeStatesFromPredecessors(cycle->head()->node(), preAbsTrace[cycle->head()->node()]);
90+
bool is_feasible = mergeStatesFromPredecessors(cycle->head()->getICFGNode(), preAbsTrace[cycle->head()->getICFGNode()]);
9191
if (!is_feasible) {
9292
return;
9393
} else {
94-
AEState pre_as = preAbsTrace[cycle->head()->node()];
94+
AEState pre_as = preAbsTrace[cycle->head()->getICFGNode()];
9595
// set -widen-delay
9696
s32_t widen_delay = Options::WidenDelay();
9797
bool increasing = true;
@@ -339,7 +339,7 @@ void AbstractExecution::handleWTOComponents(const std::list<const ICFGWTOComp*>&
339339
* @param node The WTO node to be processed
340340
*/
341341
void AbstractExecution::handleSingletonWTO(const ICFGSingletonWTO* singletonWTO) {
342-
const ICFGNode* node = singletonWTO->node();
342+
const ICFGNode* node = singletonWTO->getICFGNode();
343343
// Propagate the states from predecessors to the current node and return true if the control-flow is feasible
344344
bool is_feasible = mergeStatesFromPredecessors(node, preAbsTrace[node]);
345345
if (is_feasible) {

0 commit comments

Comments
 (0)