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
e5dd64c3
Commit
e5dd64c3
authored
Apr 01, 2020
by
aniket-engg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
analyser module listing updated
parent
be95c5f3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
21 deletions
+21
-21
index.ts
remix-analyzer/src/solidity-analyzer/index.ts
+2
-2
list.ts
remix-analyzer/src/solidity-analyzer/modules/list.ts
+19
-19
No files found.
remix-analyzer/src/solidity-analyzer/index.ts
View file @
e5dd64c3
...
...
@@ -18,8 +18,8 @@ export default class staticAnalysisRunner {
*/
run
(
compilationResult
:
CompilationResult
,
toRun
:
number
[],
callback
:
((
reports
:
AnalysisReport
[])
=>
void
)):
void
{
const
modules
:
ModuleObj
[]
=
toRun
.
map
((
i
)
=>
{
const
m
:
AnalyzerModule
=
this
.
modules
()[
i
]
return
{
'name'
:
m
.
name
,
'mod'
:
m
}
const
m
=
this
.
modules
()[
i
]
return
{
'name'
:
new
m
().
name
,
'mod'
:
new
m
()
}
})
this
.
runWithModuleList
(
compilationResult
,
modules
,
callback
)
}
...
...
remix-analyzer/src/solidity-analyzer/modules/list.ts
View file @
e5dd64c3
...
...
@@ -19,23 +19,23 @@ import deleteFromDynamicArray from './deleteFromDynamicArray'
import
forLoopIteratesOverDynamicArray
from
'./forLoopIteratesOverDynamicArray'
export
default
[
new
txOrigin
()
,
new
gasCosts
()
,
new
thisLocal
()
,
new
checksEffectsInteraction
()
,
new
constantFunctions
()
,
new
similarVariableNames
()
,
new
inlineAssembly
()
,
new
blockTimestamp
()
,
new
lowLevelCalls
()
,
new
blockBlockhash
()
,
n
ew
noReturn
()
,
new
selfdestruct
()
,
new
guardConditions
()
,
new
deleteDynamicArrays
()
,
new
assignAndCompare
()
,
new
erc20Decimals
()
,
new
stringBytesLength
()
,
new
deleteFromDynamicArray
()
,
new
forLoopIteratesOverDynamicArray
()
txOrigin
,
gasCosts
,
thisLocal
,
checksEffectsInteraction
,
constantFunctions
,
similarVariableNames
,
inlineAssembly
,
blockTimestamp
,
lowLevelCalls
,
blockBlockhash
,
n
oReturn
,
selfdestruct
,
guardConditions
,
deleteDynamicArrays
,
assignAndCompare
,
erc20Decimals
,
stringBytesLength
,
deleteFromDynamicArray
,
forLoopIteratesOverDynamicArray
]
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