Fix finding id

pull/414/head
Josselin 5 years ago
parent 752ad77985
commit 7e54ed42f3
  1. 2
      tests/expected_json/uninitialized_local_variable.uninitialized-local.json
  2. 1
      tests/expected_json/uninitialized_local_variable.uninitialized-local.txt
  3. 2
      tests/expected_json/uninitialized_storage_pointer.uninitialized-storage.json
  4. 1
      tests/expected_json/uninitialized_storage_pointer.uninitialized-storage.txt

@ -79,7 +79,7 @@
], ],
"description": "Uninitialized.func().uint_not_init (tests/uninitialized_local_variable.sol#4) is a local variable never initialized\n", "description": "Uninitialized.func().uint_not_init (tests/uninitialized_local_variable.sol#4) is a local variable never initialized\n",
"markdown": "[Uninitialized.func().uint_not_init](tests/uninitialized_local_variable.sol#L4) is a local variable never initialized\n", "markdown": "[Uninitialized.func().uint_not_init](tests/uninitialized_local_variable.sol#L4) is a local variable never initialized\n",
"id": "8cb0b6b473ffecf3c2284584eb0012c742d36709f75c7516c3ba9748f3c27a98", "id": "6ef627d0a3f7234c0d3dd339ae4cf3c1adf898f03384e08c3c8d846c67e0d476",
"check": "uninitialized-local", "check": "uninitialized-local",
"impact": "Medium", "impact": "Medium",
"confidence": "Medium" "confidence": "Medium"

@ -2,3 +2,4 @@
Uninitialized.func().uint_not_init (tests/uninitialized_local_variable.sol#4) is a local variable never initialized Uninitialized.func().uint_not_init (tests/uninitialized_local_variable.sol#4) is a local variable never initialized
Reference: https://github.com/crytic/slither/wiki/Detector-Documentation#uninitialized-local-variables Reference: https://github.com/crytic/slither/wiki/Detector-Documentation#uninitialized-local-variables
tests/uninitialized_local_variable.sol analyzed (1 contracts with 1 detectors), 1 result(s) found tests/uninitialized_local_variable.sol analyzed (1 contracts with 1 detectors), 1 result(s) found
Use https://crytic.io/ to get access to additional detectors and Github integration

@ -85,7 +85,7 @@
], ],
"description": "Uninitialized.func().st_bug (tests/uninitialized_storage_pointer.sol#10) is a storage variable never initialized\n", "description": "Uninitialized.func().st_bug (tests/uninitialized_storage_pointer.sol#10) is a storage variable never initialized\n",
"markdown": "[Uninitialized.func().st_bug](tests/uninitialized_storage_pointer.sol#L10) is a storage variable never initialized\n", "markdown": "[Uninitialized.func().st_bug](tests/uninitialized_storage_pointer.sol#L10) is a storage variable never initialized\n",
"id": "af9ceb591701024a2199a04e66a121086d330d4cdeb3b160514cce2bb440579f", "id": "b8f7c2470a8a7f83fd42dca40c50cbf2070e7fa5486c674585f2b0b39d3dc429",
"check": "uninitialized-storage", "check": "uninitialized-storage",
"impact": "High", "impact": "High",
"confidence": "High" "confidence": "High"

@ -2,3 +2,4 @@
Uninitialized.func().st_bug (tests/uninitialized_storage_pointer.sol#10) is a storage variable never initialized Uninitialized.func().st_bug (tests/uninitialized_storage_pointer.sol#10) is a storage variable never initialized
Reference: https://github.com/crytic/slither/wiki/Detector-Documentation#uninitialized-storage-variables Reference: https://github.com/crytic/slither/wiki/Detector-Documentation#uninitialized-storage-variables
tests/uninitialized_storage_pointer.sol analyzed (1 contracts with 1 detectors), 1 result(s) found tests/uninitialized_storage_pointer.sol analyzed (1 contracts with 1 detectors), 1 result(s) found
Use https://crytic.io/ to get access to additional detectors and Github integration

Loading…
Cancel
Save