#include "Util/ExtAPI.h"
#include "Util/SVFUtil.h"
#include "Util/Options.h"
#include "Util/config.h"
#include "SVFIR/SVFVariables.h"
#include <algorithm>
#include <ostream>
Go to the source code of this file.
◆ getFilePath()
Definition at line 73 of file ExtAPI.cpp.
74{
76
77 if (
path ==
"SVF_DIR")
78 {
81 return "";
82
84
87
89 }
90 else if (
path ==
"npm root")
91 {
92
93
95 "command -v npm >/dev/null 2>&1 && npm root"
96 );
97
99 return "";
100
103
105 }
106
108}
char * getenv(const char *name)
std::string getStdoutFromCommand(const std::string &command)
Execute a shell command and capture its stdout output.
llvm::IRBuilder IRBuilder