Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove ExeState and rename SVFIR2ItvExeState to SVFIR2AbsState #1426

Merged
merged 1 commit into from
Apr 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@
*/
void traverseOnSVFStmt(const ICFGNode* node)
{
SVFIR2ItvExeState* svfir2ExeState = new SVFIR2ItvExeState(SVFIR::getPAG());
SVFIR2AbsState* svfir2ExeState = new SVFIR2AbsState(SVFIR::getPAG());

Check warning on line 80 in svf-llvm/tools/Example/svf-ex.cpp

View check run for this annotation

Codecov / codecov/patch

svf-llvm/tools/Example/svf-ex.cpp#L80

Added line #L80 was not covered by tests
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
Loading