Skip to content

Commit

Permalink
update md
Browse files Browse the repository at this point in the history
  • Loading branch information
NinaTea committed Oct 16, 2024
1 parent 77e4c1f commit 926c193
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 15 deletions.
1 change: 1 addition & 0 deletions solidity/codeql/docs/docs/Detectors/bad-prng.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
TODO
15 changes: 9 additions & 6 deletions solidity/codeql/docs/docs/Detectors/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,12 @@ title: Detectors

# Detectors Index


- deadCode
- fixWordInComments
- incorrectShift
- msgValueInForLoop
- transferFrom
- incorrect-shift
- divide-before-multiply
- transfer-from
- incorrect-exp
- msg-value-in-for-loop
- unprotected-self-destruct
- unchecked-send
- is-unrecheable
- bad-prng
18 changes: 9 additions & 9 deletions solidity/codeql/docs/docs/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,15 +111,15 @@ Shutting down query evaluator.
| Num | Detector | What it Detects |
| --- | ----------- | -------------------------------------------------------------------- |
| 1 | `transferFrom` | transferFrom uses arbitrary `from` |
| 2 | `fixWordInComments` | usage of the word 'FIX' in comments |
| 3 | `incorrectShift` | incorrect order of arguments in bit shift operations |
| 4 | `deadCode` | Dead code: unreachable basic blocks |
| 5 | `msgValueInForLoop` | Detects the use of msg.value inside a loop |
| 6 | `badPrng` | Detects bad randomness |
| 7 | `divideBeforeMultiply` | Detects loss of precision |
| 8 | `incorrectExp` | Detects use of bitwise xor instead of exponential |
| 9 | `uncheckedSend` | The return value of a send is not checked |
| 1 | `transfer-from` | transferFrom uses arbitrary `from` |
| 2 | `incorrect-shift` | incorrect order of arguments in bit shift operations |
| 3 | `msg-valu-in-for-loop` | Detects the use of msg.value inside a loop |
| 4 | `bad-prng` | Detects bad randomness |
| 5 | `divide-before-multiply` | Detects loss of precision |
| 6 | `incorrect-exp` | Detects use of bitwise xor instead of exponential |
| 7 | `unchecked-send` | The return value of a send is not checked |
| 8 | `is-unrecheable` | Detects dead code |
| 9 | `unprotected-self-destruct` | Detects unprotected call to selfdestruct/suicidal |
### Further Documentation
Expand Down

0 comments on commit 926c193

Please sign in to comment.