Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
baas-ide
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
guxukai
baas-ide
Commits
d122a40f
Commit
d122a40f
authored
Nov 21, 2017
by
soad003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Static Analysis: add comments
parent
a6c4a38c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
staticAnalysisCommon.js
src/app/staticanalysis/modules/staticAnalysisCommon.js
+5
-0
No files found.
src/app/staticanalysis/modules/staticAnalysisCommon.js
View file @
d122a40f
...
@@ -406,6 +406,11 @@ function isBuiltinFunctionCall (node) {
...
@@ -406,6 +406,11 @@ function isBuiltinFunctionCall (node) {
return
isLocalCall
(
node
)
&&
builtinFunctions
[
getLocalCallName
(
node
)
+
'('
+
getFunctionCallTypeParameterType
(
node
)
+
')'
]
===
true
return
isLocalCall
(
node
)
&&
builtinFunctions
[
getLocalCallName
(
node
)
+
'('
+
getFunctionCallTypeParameterType
(
node
)
+
')'
]
===
true
}
}
/**
* True if node is a call to selfdestruct
* @node {ASTNode} some AstNode
* @return {bool}
*/
function
isSelfdestructCall
(
node
)
{
function
isSelfdestructCall
(
node
)
{
return
isBuiltinFunctionCall
(
node
)
&&
getLocalCallName
(
node
)
===
'selfdestruct'
return
isBuiltinFunctionCall
(
node
)
&&
getLocalCallName
(
node
)
===
'selfdestruct'
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment