Advertisement
Guest User

Untitled

a guest
Mar 26th, 2019
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.49 KB | None | 0 0
  1. [
  2. {
  3. "issues": [
  4. {
  5. "swcID": "SWC-101",
  6. "swcTitle": "Integer Overflow and Underflow",
  7. "description": {
  8. "head": "The binary addition can overflow.",
  9. "tail": "The operands of the addition operation are not sufficiently constrained. The addition could therefore result in an integer overflow. Prevent the overflow by checking inputs or ensure sure that the overflow is caught by an assertion."
  10. },
  11. "severity": "High",
  12. "locations": [
  13. {
  14. "sourceMap": "384: 1: 0"
  15. }
  16. ],
  17. "extra": {
  18. "testCase": {
  19. "initialState": {
  20. "accounts": null
  21. },
  22. "steps": null
  23. }
  24. }
  25. },
  26. {
  27. "swcID": "SWC-101",
  28. "swcTitle": "Integer Overflow and Underflow",
  29. "description": {
  30. "head": "The binary subtraction can underflow.",
  31. "tail": "The operands of the subtraction operation are not sufficiently constrained. The subtraction could therefore result in an integer underflow. Prevent the underflow by checking inputs or ensure sure that the underflow is caught by an assertion."
  32. },
  33. "severity": "Low",
  34. "locations": [
  35. {
  36. "sourceMap": "351: 1: 0"
  37. }
  38. ],
  39. "extra": {
  40. "testCase": {
  41. "initialState": {
  42. "accounts": null
  43. },
  44. "steps": null
  45. }
  46. }
  47. },
  48. {
  49. "swcID": "SWC-103",
  50. "swcTitle": "Integer Overflow and Underflow",
  51. "description": {
  52. "head": "The binary subtraction can underflow.",
  53. "tail": "The operands of the subtraction operation are not sufficiently constrained. The subtraction could therefore result in an integer underflow. Prevent the underflow by checking inputs or ensure sure that the underflow is caught by an assertion."
  54. },
  55. "severity": "Low",
  56. "locations": [
  57. {
  58. "sourceMap": "317: 1: 0"
  59. }
  60. ],
  61. "extra": {
  62. "testCase": {
  63. "initialState": {
  64. "accounts": null
  65. },
  66. "steps": null
  67. }
  68. }
  69. }
  70. ],
  71. "sourceType": "raw-bytecode",
  72. "sourceFormat": "evm-byzantium-bytecode",
  73. "sourceList": [
  74. "0xa5abe1f33fed286bd06c227ec2303d623ead4334852b2ac338ffb41afe637396"
  75. ],
  76. "meta": {
  77. "coveredInstructions": 213,
  78. "coveredPaths": 10,
  79. "error": ""
  80. }
  81. }
  82. ]", got "[{"issues":[{"swcID":"SWC-101","swcTitle":"Integer Overflow and Underflow","description":{"head":"The binary addition can overflow.","tail":"The operands of the addition operation are not sufficiently constrained. The addition could therefore result in an integer overflow. Prevent the overflow by checking inputs or ensure sure that the overflow is caught by an assertion."},"severity":"High","locations":[{"sourceMap":"384: 1: 0"}],"extra":{"testCase":{"initialState":{"accounts":null},"steps":null}}},{"swcID":"SWC-101","swcTitle":"Integer Overflow and Underflow","description":{"head":"The binary subtraction can underflow.","tail":"The operands of the subtraction operation are not sufficiently constrained. The subtraction could therefore result in an integer underflow. Prevent the underflow by checking inputs or ensure sure that the underflow is caught by an assertion."},"severity":"Low","locations":[{"sourceMap":"351: 1: 0"}],"extra":{"testCase":{"initialState":{"accounts":null},"steps":null}}},{"swcID":"SWC-103","swcTitle":"Integer Overflow and Underflow","description":{"head":"The binary subtraction can underflow.","tail":"The operands of the subtraction operation are not sufficiently constrained. The subtraction could therefore result in an integer underflow. Prevent the underflow by checking inputs or ensure sure that the underflow is caught by an assertion."},"severity":"Low","locations":[{"sourceMap":"317: 1: 0"}],"extra":{"testCase":{"initialState":{"accounts":null},"steps":null}}}],"sourceType":"raw-bytecode","sourceFormat":"evm-byzantium-bytecode","sourceList":["0xa5abe1f33fed286bd06c227ec2303d623ead4334852b2ac338ffb41afe637396"],"meta":{"coveredInstructions":213,"coveredPaths":10,"error":""}}]"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement