#include "Util/ExtAPI.h"
#include "Util/SVFUtil.h"
#include "Util/Options.h"
#include "Util/config.h"
#include <ostream>
#include <sys/stat.h>
#include "SVFIR/SVFVariables.h"
#include <dlfcn.h>
Go to the source code of this file.
◆ getCurrentSOPath()
Definition at line 125 of file ExtAPI.cpp.
126{
129 {
130 return std::string(
info.dli_fname);
131 }
132 return "";
133}
std::string getCurrentSOPath()
llvm::IRBuilder IRBuilder
◆ getFilePath()
Definition at line 99 of file ExtAPI.cpp.
100{
102 if (
path.compare(
"SVF_DIR") == 0)
103 {
110 }
111 else if (
path.compare(
"npm root") == 0)
112 {
117 }
119}
static std::string GetStdoutFromCommand(const std::string &command)
char * getenv(const char *name)
◆ GetStdoutFromCommand()
Definition at line 75 of file ExtAPI.cpp.
76{
79
82 {
83 return "popen failed!";
84 }
85
87 {
88
91 }
93
96}
char * fgets(char *str, int n, void *stream)