8000 remove svffunction by jumormt · Pull Request #1671 · SVF-tools/SVF · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

remove svffunction #1671

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

Merged
merged 4 commits into from
Mar 3, 2025
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
1 change: 0 additions & 1 deletion svf-llvm/include/SVF-LLVM/BreakConstantExpr.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
#ifndef BREAKCONSTANTGEPS_H
#define BREAKCONSTANTGEPS_H

#include "SVF-LLVM/SVFLLVMValue.h"

namespace SVF
{
Expand Down
2 changes: 1 addition & 1 deletion svf-llvm/include/SVF-LLVM/CppUtil.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
#ifndef CPPUtil_H_
#define CPPUtil_H_

#include "SVF-LLVM/SVFLLVMValue.h"
#include "SVF-LLVM/BasicTypes.h"
#include "Util/GeneralType.h"

namespace SVF
{
Expand Down
10 changes: 3 additions & 7 deletions svf-llvm/include/SVF-LLVM/DCHG.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,12 @@
#include "Graphs/GenericGraph.h"
#include "Graphs/CHG.h"
#include "SVF-LLVM/BasicTypes.h"
#include "SVF-LLVM/SVFModule.h"
#include "Util/SVFUtil.h"
#include "Util/WorkList.h"

namespace SVF
{

class SVFModule;
class DCHNode;

class DCHEdge : public GenericEdge<DCHNode>
Expand Down Expand Up @@ -230,8 +228,8 @@ class DCHGraph : public CommonCHGraph, public GenericGraph<DCHNode, DCHEdge>
static bool isAgg(const DIType* t);

public:
DCHGraph(const SVFModule *svfMod)
: svfModule(svfMod), numTypes(0) // vfID(0), buildingCHGTime(0) {
DCHGraph()
:numTypes(0) // vfID(0), buildingCHGTime(0) {
{
this->kind = DI;
}
Expand Down Expand Up @@ -358,8 +356,6 @@ class DCHGraph : public CommonCHGraph, public GenericGraph<DCHNode, DCHEdge>
bool isFirstField(const DIType* f, const DIType* b);

protected:
/// SVF Module this CHG is built from.
const SVFModule* svfModule;
/// Whether this CHG is an extended CHG (first-field). Set by buildCHG.
bool extended = false;
/// Maps DITypes to their nodes.
Expand Down Expand Up @@ -394,7 +390,7 @@ class DCHGraph : public CommonCHGraph, public GenericGraph<DCHNode, DCHEdge>
void handleDISubroutineType(const DISubroutineType* subroutineType);

/// Finds all defined virtual functions and attaches them to nodes.
void buildVTables(const SVFModule& module);
void buildVTables();

/// Returns a set of all children of type (CHA). Also gradually builds chaMap.
const NodeBS& cha(const DIType* type, bool firstField);
Expand Down
Loading
Loading
0