Why
The PoC demonstrates an overflow in an unchecked block and contrasts it with SafeMath and native 0.8 checks, making the invisible wrap explicit.
How it works
Not yet built.
Workspace Index › Dev Notes › Integer overflow — arithmetic that wraps past zero
#171PoC
Before Solidity 0.8 made checks default, unchecked arithmetic could wrap a balance from near-zero to near-max, and the pattern survives today in unchecked blocks and other languages.
The PoC demonstrates an overflow in an unchecked block and contrasts it with SafeMath and native 0.8 checks, making the invisible wrap explicit.
Not yet built.
Solidity 0.8이 검사를 기본으로 만들기 전, 검사 없는 산술은 잔액을 0 근처에서 최댓값 근처로 되감을 수 있었고, 이 패턴은 오늘날 unchecked 블록과 다른 언어에 남아 있습니다.
이 PoC는 unchecked 블록의 오버플로를 시연하고 이를 SafeMath 및 0.8 네이티브 검사와 대조해, 보이지 않는 되감김을 드러냅니다.
아직 만들지 않음.