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
60bb76a9
Commit
60bb76a9
authored
May 08, 2020
by
aniket-engg
Committed by
Aniket
May 14, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
module title and subtitle updated
parent
5594cdea
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
11 additions
and
11 deletions
+11
-11
blockBlockhash.ts
...-analyzer/src/solidity-analyzer/modules/blockBlockhash.ts
+2
-2
blockTimestamp.ts
...-analyzer/src/solidity-analyzer/modules/blockTimestamp.ts
+1
-1
deleteDynamicArrays.ts
...yzer/src/solidity-analyzer/modules/deleteDynamicArrays.ts
+2
-2
deleteFromDynamicArray.ts
...r/src/solidity-analyzer/modules/deleteFromDynamicArray.ts
+1
-1
guardConditions.ts
...analyzer/src/solidity-analyzer/modules/guardConditions.ts
+1
-1
intDivisionTruncate.ts
...yzer/src/solidity-analyzer/modules/intDivisionTruncate.ts
+1
-1
lowLevelCalls.ts
...x-analyzer/src/solidity-analyzer/modules/lowLevelCalls.ts
+1
-1
selfdestruct.ts
remix-analyzer/src/solidity-analyzer/modules/selfdestruct.ts
+1
-1
txOrigin.ts
remix-analyzer/src/solidity-analyzer/modules/txOrigin.ts
+1
-1
No files found.
remix-analyzer/src/solidity-analyzer/modules/blockBlockhash.ts
View file @
60bb76a9
...
...
@@ -5,8 +5,8 @@ import { AnalyzerModule, ModuleAlgorithm, ModuleCategory, ReportObj, Compilation
export
default
class
blockBlockhash
implements
AnalyzerModule
{
warningNodes
:
FunctionCallAstNode
[]
=
[]
name
:
string
=
`Block
hash usage
: `
description
:
string
=
`
Semantics maybe unclear
`
name
:
string
=
`Block
hash
: `
description
:
string
=
`
Can be influenced by miners
`
category
:
ModuleCategory
=
category
.
SECURITY
algorithm
:
ModuleAlgorithm
=
algorithm
.
EXACT
...
...
remix-analyzer/src/solidity-analyzer/modules/blockTimestamp.ts
View file @
60bb76a9
...
...
@@ -8,7 +8,7 @@ export default class blockTimestamp implements AnalyzerModule {
warningNowNodes
:
IdentifierAstNode
[]
=
[]
warningblockTimestampNodes
:
MemberAccessAstNode
[]
=
[]
name
:
string
=
`Block timestamp: `
description
:
string
=
`
Semantics maybe unclear
`
description
:
string
=
`
Can be influenced by miners
`
category
:
ModuleCategory
=
category
.
SECURITY
algorithm
:
ModuleAlgorithm
=
algorithm
.
EXACT
...
...
remix-analyzer/src/solidity-analyzer/modules/deleteDynamicArrays.ts
View file @
60bb76a9
...
...
@@ -5,8 +5,8 @@ import { AnalyzerModule, ModuleAlgorithm, ModuleCategory, ReportObj, Compilation
export
default
class
deleteDynamicArrays
implements
AnalyzerModule
{
rel
:
UnaryOperationAstNode
[]
=
[]
name
:
string
=
`Delete
on
dynamic array: `
description
:
string
=
`Use require/assert
appropriately
`
name
:
string
=
`Delete dynamic array: `
description
:
string
=
`Use require/assert
to ensure
`
category
:
ModuleCategory
=
category
.
GAS
algorithm
:
ModuleAlgorithm
=
algorithm
.
EXACT
...
...
remix-analyzer/src/solidity-analyzer/modules/deleteFromDynamicArray.ts
View file @
60bb76a9
...
...
@@ -6,7 +6,7 @@ import { AnalyzerModule, ModuleAlgorithm, ModuleCategory, ReportObj, Compilation
export
default
class
deleteFromDynamicArray
implements
AnalyzerModule
{
relevantNodes
:
UnaryOperationAstNode
[]
=
[]
name
:
string
=
`Delete from dynamic array: `
description
:
string
=
`'delete'
on an array leaves a gap
`
description
:
string
=
`'delete'
leaves a gap in array
`
category
:
ModuleCategory
=
category
.
MISC
algorithm
:
ModuleAlgorithm
=
algorithm
.
EXACT
...
...
remix-analyzer/src/solidity-analyzer/modules/guardConditions.ts
View file @
60bb76a9
...
...
@@ -6,7 +6,7 @@ import { AnalyzerModule, ModuleAlgorithm, ModuleCategory, ReportObj, Compilation
export
default
class
guardConditions
implements
AnalyzerModule
{
guards
:
FunctionCallAstNode
[]
=
[]
name
:
string
=
`Guard conditions: `
description
:
string
=
`
Use 'require' and 'assert' appropriately
`
description
:
string
=
`
Ensure appropriate use of require/assert
`
category
:
ModuleCategory
=
category
.
MISC
algorithm
:
ModuleAlgorithm
=
algorithm
.
EXACT
...
...
remix-analyzer/src/solidity-analyzer/modules/intDivisionTruncate.ts
View file @
60bb76a9
...
...
@@ -5,7 +5,7 @@ import { AnalyzerModule, ModuleAlgorithm, ModuleCategory, ReportObj, Compilation
export
default
class
intDivisionTruncate
implements
AnalyzerModule
{
warningNodes
:
BinaryOperationAstNode
[]
=
[]
name
:
string
=
`Data
T
runcated: `
name
:
string
=
`Data
t
runcated: `
description
:
string
=
`Division on int/uint values truncates the result`
category
:
ModuleCategory
=
category
.
MISC
algorithm
:
ModuleAlgorithm
=
algorithm
.
EXACT
...
...
remix-analyzer/src/solidity-analyzer/modules/lowLevelCalls.ts
View file @
60bb76a9
...
...
@@ -11,7 +11,7 @@ interface llcNode {
export
default
class
lowLevelCalls
implements
AnalyzerModule
{
llcNodes
:
llcNode
[]
=
[]
name
:
string
=
`Low level calls: `
description
:
string
=
`S
emantics maybe unclear
`
description
:
string
=
`S
hould be last resort
`
category
:
ModuleCategory
=
category
.
SECURITY
algorithm
:
ModuleAlgorithm
=
algorithm
.
EXACT
...
...
remix-analyzer/src/solidity-analyzer/modules/selfdestruct.ts
View file @
60bb76a9
...
...
@@ -6,7 +6,7 @@ import { AnalyzerModule, ModuleAlgorithm, ModuleCategory, ReportObj, ContractHLA
export
default
class
selfdestruct
implements
AnalyzerModule
{
name
:
string
=
`Selfdestruct: `
description
:
string
=
`
Beware of caller contracts
`
description
:
string
=
`
Dependent contracts can be inoperable
`
category
:
ModuleCategory
=
category
.
SECURITY
algorithm
:
ModuleAlgorithm
=
algorithm
.
HEURISTIC
...
...
remix-analyzer/src/solidity-analyzer/modules/txOrigin.ts
View file @
60bb76a9
...
...
@@ -6,7 +6,7 @@ import { AnalyzerModule, ModuleAlgorithm, ModuleCategory, ReportObj, Compilation
export
default
class
txOrigin
implements
AnalyzerModule
{
txOriginNodes
:
MemberAccessAstNode
[]
=
[]
name
:
string
=
`Transaction origin: `
description
:
string
=
`'tx.origin'
is
used`
description
:
string
=
`'tx.origin' used`
category
:
ModuleCategory
=
category
.
SECURITY
algorithm
:
ModuleAlgorithm
=
algorithm
.
EXACT
...
...
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