Skip to content

Commit 51ab713

Browse files
authored
Merge pull request #2788 from crytic/master
Sync Master <> Dev
2 parents 09941ab + f9710de commit 51ab713

File tree

10 files changed

+215
-220
lines changed

10 files changed

+215
-220
lines changed

FUNDING.json

Lines changed: 0 additions & 15 deletions
This file was deleted.

docs/src/Usage.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ slither . --filter-paths "openzepellin"
8888
Filter all the results only related to openzepellin.
8989

9090
```
91-
slither . --filter-paths "Migrations.sol|ConvertLib.sol"
91+
slither . --filter-paths "SafeMath.sol|ConvertLib.sol"
9292
```
9393

9494
Filter all the results only related to the file `SafeMath.sol` or `ConvertLib.sol`.

docs/src/detectors/Detector-Documentation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1371,7 +1371,7 @@ Detects variables that are written but never read and written again.
13711371
}
13721372
}
13731373
```
1374-
`a` is first asigned to `b`, and then to `c`. As a result the first write does nothing.
1374+
`a` is first assigned to `b`, and then to `c`. As a result the first write does nothing.
13751375

13761376
### Recommendation
13771377

docs/src/printers/Printer-documentation.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ $ slither examples/printers/call_graph.sol --print call-graph
5151
<img src="https://raw.githubusercontent.com/crytic/slither/master/examples/printers/call_graph.sol.dot.png">
5252

5353
The output format is [dot](https://www.graphviz.org/).
54-
To vizualize the graph:
54+
To visualize the graph:
5555

5656
```
5757
$ xdot examples/printers/call_graph.sol.dot
@@ -72,7 +72,7 @@ Export the control flow graph of each function
7272
### Example
7373

7474
The output format is [dot](https://www.graphviz.org/).
75-
To vizualize the graph:
75+
To visualize the graph:
7676

7777
```
7878
$ xdot function.sol.dot
@@ -355,7 +355,7 @@ INFO:PrinterInheritance:Inheritance Graph: examples/DAO.sol.dot
355355
```
356356

357357
The output format is [dot](https://www.graphviz.org/).
358-
To vizualize the graph:
358+
To visualize the graph:
359359

360360
```
361361
$ xdot examples/printers/inheritances.sol.dot

docs/src/tools/Code-Similarity-Detector.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ Here's an example to plot all the functions named `add` from contracts named `Sa
109109
```
110110
$ slither-simil plot etherscan_verified_contracts.bin --fname SafeMath.add --input cache.npz --nsamples 500
111111
INFO:Slither-simil:Loading data..
112-
INFO:Slither-simil:Procesing data..
112+
INFO:Slither-simil:Processing data..
113113
INFO:Slither-simil:Plotting data..
114114
INFO:Slither-simil:Saving figure to plot.png..
115115
```

docs/src/tools/Upgradeability-Checks.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ contract DerivedDerived is Derived{
271271
272272
```
273273

274-
`Base.initialize(uint)` is called two times in `DerivedDerived.initiliaze` execution, leading to a potential corruption.
274+
`Base.initialize(uint)` is called two times in `DerivedDerived.initialize` execution, leading to a potential corruption.
275275

276276
### Recommendation
277277

funding.json

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
{
2+
"Optimism": {
3+
"op-mainnet": {
4+
"ownedBy": "0xc44F30Be3eBBEfdDBB5a85168710b4f0e18f4Ff0"
5+
}
6+
},
7+
"drips": {
8+
"ethereum": {
9+
"ownedBy": "0xc44F30Be3eBBEfdDBB5a85168710b4f0e18f4Ff0"
10+
}
11+
},
212
"opRetro": {
313
"projectId": "0xdc3dce33fd5fb50cf932586d4257456ddf5040ba0955d97641646504c73dbd13"
4-
}
14+
}
515
}

slither/detectors/statements/pyth_unchecked.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class PythUnchecked(AbstractDetector):
1313
Documentation: This detector finds deprecated Pyth function calls
1414
"""
1515

16-
# To be overriden in the derived class
16+
# To be overridden in the derived class
1717
PYTH_FUNCTIONS = []
1818
PYTH_FIELD = ""
1919

slither/detectors/statements/write_after_write.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ def _detect_write_after_write(
8686

8787
explored.add(node)
8888

89-
# We could report write after write for, but this lead to a lot of FP due to the initilization to zero pattern:
89+
# We could report write after write for, but this lead to a lot of FP due to the initialization to zero pattern:
9090
# uint a = 0;
9191
# a = 10;
9292
# To do better, we could filter out if the variable is init to zero
@@ -123,7 +123,7 @@ class WriteAfterWrite(AbstractDetector):
123123
}
124124
}
125125
```
126-
`a` is first asigned to `b`, and then to `c`. As a result the first write does nothing."""
126+
`a` is first assigned to `b`, and then to `c`. As a result the first write does nothing."""
127127
# endregion wiki_exploit_scenario
128128

129129
WIKI_RECOMMENDATION = """Fix or remove the writes."""

0 commit comments

Comments
 (0)