Static Analyzer for Solidity
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.
slither/tests/expected_json/unchecked_send-0.5.1.unchec...

147 lines
5.1 KiB

6 years ago
{
"success": true,
"error": null,
"results": {
"detectors": [
{
"check": "unchecked-send",
"impact": "Medium",
"confidence": "Medium",
"description": "MyConc.bad(address) (tests/unchecked_send-0.5.1.sol#2-4) ignores return value by send calls \"dst.send(msg.value)\" (tests/unchecked_send-0.5.1.sol#3)\n",
"elements": [
{
"type": "node",
"name": "dst.send(msg.value)",
"source_mapping": {
"start": 81,
"length": 19,
"filename_used": "/home/travis/build/crytic/slither/tests/unchecked_send-0.5.1.sol",
"filename_relative": "tests/unchecked_send-0.5.1.sol",
"filename_absolute": "/home/travis/build/crytic/slither/tests/unchecked_send-0.5.1.sol",
"filename_short": "tests/unchecked_send-0.5.1.sol",
"lines": [
3
],
"starting_column": 9,
"ending_column": 28
},
"type_specific_fields": {
"parent": {
"type": "function",
"name": "bad",
"source_mapping": {
"start": 21,
"length": 86,
"filename_used": "/home/travis/build/crytic/slither/tests/unchecked_send-0.5.1.sol",
"filename_relative": "tests/unchecked_send-0.5.1.sol",
"filename_absolute": "/home/travis/build/crytic/slither/tests/unchecked_send-0.5.1.sol",
"filename_short": "tests/unchecked_send-0.5.1.sol",
"lines": [
2,
3,
4
],
"starting_column": 5,
"ending_column": 6
},
"type_specific_fields": {
"parent": {
"type": "contract",
"name": "MyConc",
"source_mapping": {
"start": 0,
"length": 419,
"filename_used": "/home/travis/build/crytic/slither/tests/unchecked_send-0.5.1.sol",
"filename_relative": "tests/unchecked_send-0.5.1.sol",
"filename_absolute": "/home/travis/build/crytic/slither/tests/unchecked_send-0.5.1.sol",
"filename_short": "tests/unchecked_send-0.5.1.sol",
"lines": [
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18
],
"starting_column": 1,
"ending_column": 2
}
},
"signature": "bad(address)"
}
}
}
6 years ago
},
{
"type": "function",
"name": "bad",
6 years ago
"source_mapping": {
"start": 21,
"length": 86,
6 years ago
"filename_used": "/home/travis/build/crytic/slither/tests/unchecked_send-0.5.1.sol",
"filename_relative": "tests/unchecked_send-0.5.1.sol",
"filename_absolute": "/home/travis/build/crytic/slither/tests/unchecked_send-0.5.1.sol",
"filename_short": "tests/unchecked_send-0.5.1.sol",
"lines": [
2,
3,
4
6 years ago
],
"starting_column": 5,
"ending_column": 6
},
"type_specific_fields": {
"parent": {
"type": "contract",
"name": "MyConc",
"source_mapping": {
"start": 0,
"length": 419,
"filename_used": "/home/travis/build/crytic/slither/tests/unchecked_send-0.5.1.sol",
"filename_relative": "tests/unchecked_send-0.5.1.sol",
"filename_absolute": "/home/travis/build/crytic/slither/tests/unchecked_send-0.5.1.sol",
"filename_short": "tests/unchecked_send-0.5.1.sol",
"lines": [
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18
],
"starting_column": 1,
"ending_column": 2
}
},
"signature": "bad(address)"
6 years ago
}
}
]
}
]
}
6 years ago
}