eosnetworkfoundation / mandel.cdt

Obsolete. Use https://github.com/AntelopeIO/cdt instead.
Other
7 stars 2 forks source link

Add Support for Stack Canary #6

Closed larryk85 closed 2 years ago

larryk85 commented 2 years ago

Currently with CDT, the only way to use a large stack is to use the option -fno-stack-first. This is problematic as it forces the smart contract developer to choose a non-safe option. It would be best to have some support for determining if this stack has overflowed at any point during smart contract execution and fail if it has detected this issue.

Look at the PR #5 for the implementation of this.