2025-06-02 19:08:09 +03:00
|
|
|
#include "leak_detector.h"
|
2023-09-14 19:43:13 +03:00
|
|
|
|
|
|
|
|
#include <cstdio>
|
|
|
|
|
#include <cstring>
|
|
|
|
|
#include <cstring>
|
|
|
|
|
#include <fstream>
|
|
|
|
|
#include <iostream>
|
|
|
|
|
#include <cstdlib>
|
|
|
|
|
#include <set>
|
|
|
|
|
#include <vector>
|
|
|
|
|
#include <algorithm>
|
|
|
|
|
#include <tuple>
|
|
|
|
|
|
|
|
|
|
#include "dvm.h"
|
|
|
|
|
#include "../Utils/errors.h"
|
|
|
|
|
#include "../Utils/SgUtils.h"
|
2025-06-02 19:08:09 +03:00
|
|
|
#include "graph_calls.h"
|
2023-09-14 19:43:13 +03:00
|
|
|
#include "../GraphCall/graph_calls_func.h"
|
|
|
|
|
|
|
|
|
|
#include "projectParameters.h"
|
|
|
|
|
|
|
|
|
|
using namespace std;
|
|
|
|
|
|
|
|
|
|
map< pair<string, int>, set<string>>
|
|
|
|
|
findParameters(const map<string, vector<DefUseList>> &defUseByFunctions,
|
|
|
|
|
const map<string, CommonBlock*> &commonBlocks,
|
|
|
|
|
const map<string, vector<FuncInfo*>> &allFuncInfo)
|
|
|
|
|
{
|
|
|
|
|
map< pair<string, int>, set<string>> foundParameters;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return foundParameters;
|
|
|
|
|
}
|