mirror of https://github.com/crytic/slither
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
61 lines
1.6 KiB
61 lines
1.6 KiB
[
|
|
{
|
|
"check": "controlled-delegatecall",
|
|
"expressions": [
|
|
{
|
|
"expression": "addr_bad.delegatecall(data)",
|
|
"source_mapping": {
|
|
"filename": "tests/controlled_delegatecall.sol",
|
|
"length": 27,
|
|
"lines": [
|
|
10
|
|
],
|
|
"start": 178
|
|
}
|
|
}
|
|
],
|
|
"function": {
|
|
"name": "bad_delegate_call",
|
|
"source_mapping": {
|
|
"filename": "tests/controlled_delegatecall.sol",
|
|
"length": 120,
|
|
"lines": [
|
|
8,
|
|
9,
|
|
10,
|
|
11
|
|
],
|
|
"start": 92
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"check": "controlled-delegatecall",
|
|
"expressions": [
|
|
{
|
|
"expression": "addr_bad.delegatecall(func_id,data)",
|
|
"source_mapping": {
|
|
"filename": "tests/controlled_delegatecall.sol",
|
|
"length": 36,
|
|
"lines": [
|
|
19
|
|
],
|
|
"start": 356
|
|
}
|
|
}
|
|
],
|
|
"function": {
|
|
"name": "bad_delegate_call2",
|
|
"source_mapping": {
|
|
"filename": "tests/controlled_delegatecall.sol",
|
|
"length": 92,
|
|
"lines": [
|
|
18,
|
|
19,
|
|
20
|
|
],
|
|
"start": 307
|
|
}
|
|
}
|
|
}
|
|
] |