Skip to content

Commit

Permalink
remove ExeState and rename SVFIR2ItvExeState to SVFIR2AbsState
Browse files Browse the repository at this point in the history
  • Loading branch information
bjjwwang committed Apr 4, 2024
1 parent 70e9af8 commit 65b6f20
Show file tree
Hide file tree
Showing 19 changed files with 66 additions and 3,201 deletions.
4 changes: 2 additions & 2 deletions svf-llvm/tools/Example/svf-ex.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
// Author: Yulei Sui,
*/

#include "AE/Svfexe/SVFIR2ItvExeState.h"
#include "AE/Svfexe/SVFIR2AbsState.h"
#include "Graphs/SVFG.h"
#include "SVF-LLVM/LLVMUtil.h"
#include "SVF-LLVM/SVFIRBuilder.h"
Expand Down Expand Up @@ -77,7 +77,7 @@ std::string printPts(PointerAnalysis* pta, const SVFValue* svfval)
*/
void traverseOnSVFStmt(const ICFGNode* node)
{
SVFIR2ItvExeState* svfir2ExeState = new SVFIR2ItvExeState(SVFIR::getPAG());
SVFIR2AbsState* svfir2ExeState = new SVFIR2AbsState(SVFIR::getPAG());
for (const SVFStmt* stmt: node->getSVFStmts())
{
if (const AddrStmt *addr = SVFUtil::dyn_cast<AddrStmt>(stmt))
Expand Down
5 changes: 2 additions & 3 deletions svf/include/AE/Core/AbstractState.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
#ifndef Z3_EXAMPLE_INTERVAL_DOMAIN_H
#define Z3_EXAMPLE_INTERVAL_DOMAIN_H

#include "AE/Core/ExeState.h"
#include "AE/Core/IntervalValue.h"
#include "AE/Core/AbstractValue.h"
#include "Util/Z3Expr.h"
Expand All @@ -54,7 +53,7 @@ namespace SVF
{
class AbstractState
{
friend class SVFIR2ItvExeState;
friend class SVFIR2AbsState;
friend class RelationSolver;
public:
typedef Map<u32_t, AbstractValue> VarToAbsValMap;
Expand Down Expand Up @@ -439,7 +438,7 @@ class AbstractState

class SparseAbstractState : public AbstractState
{
friend class SVFIR2ItvExeState;
friend class SVFIR2AbsState;
friend class RelationSolver;

public:
Expand Down
Loading

0 comments on commit 65b6f20

Please sign in to comment.