-
Notifications
You must be signed in to change notification settings - Fork 127
/
global.php
57 lines (44 loc) · 2.22 KB
/
global.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<?php
define('CURR_PATH',str_replace("\\", "/", dirname(__FILE__))) ;
require_once CURR_PATH . '/vendor/autoload.php' ;
require_once CURR_PATH . '/BasicBlock.php';
require_once CURR_PATH . '/FileSummaryGenerator.php';
require_once CURR_PATH . '/utils/AnalyseUtils.class.php';
require_once CURR_PATH . '/utils/FileUtils.class.php';
require_once CURR_PATH . '/utils/SymbolUtils.class.php';
require_once CURR_PATH . '/utils/NodeUtils.class.php';
require_once CURR_PATH . '/utils/TypeUtils.class.php';
require_once CURR_PATH . '/utils/multiBlockHandlerUtils.class.php';
require_once CURR_PATH . '/utils/SecureUtils.class.php';
require_once CURR_PATH . '/utils/BIFuncUtils.class.php';
require_once CURR_PATH . '/utils/CommonUtils.class.php';
require_once CURR_PATH . '/symbols/Symbol.class.php' ;
require_once CURR_PATH . '/symbols/ValueSymbol.class.php';
require_once CURR_PATH . '/symbols/VariableSymbol.class.php';
require_once CURR_PATH . '/symbols/MutipleSymbol.class.php';
require_once CURR_PATH . '/symbols/ArrayDimFetchSymbol.class.php';
require_once CURR_PATH . '/symbols/ConcatSymbol.class.php';
require_once CURR_PATH . '/symbols/ConstantSymbol.class.php';
require_once CURR_PATH . '/symbols/SanitizationHandler.class.php';
require_once CURR_PATH . '/symbols/EncodingHandler.class.php';
require_once CURR_PATH . '/summary/FileSummary.class.php';
require_once CURR_PATH . '/context/ClassFinder.php';
require_once CURR_PATH . '/context/UserDefinedSinkContext.class.php';
require_once CURR_PATH . '/context/UserSanitizeFuncConetxt.php';
require_once CURR_PATH . '/context/InitModule.class.php';
require_once CURR_PATH . '/context/FileSummaryContext.class.php';
require_once CURR_PATH . '/context/ResultContext.class.php';
require_once CURR_PATH . '/conf/sinks.php' ;
require_once CURR_PATH . '/conf/sources.php' ;
require_once CURR_PATH . '/conf/securing.php';
require_once CURR_PATH . '/analyser/TaintAnalyser.class.php';
require_once CURR_PATH . '/libs/Smarty_setup.php';
require_once CURR_PATH . '/CFGGenerator.php';
header("Content-type:text/html;charset=utf-8") ;
//设置递归层数
ini_set('xdebug.max_nesting_level', 1000);
//设置最大执行时间
ini_set("max_execution_time", "0");
//设置内存限制大小
ini_set('memory_limit', '1000M') ;
?>