• mbaxter's avatar
    cannon: Encapsulate syscall helpers (#10978) · 73d56a9d
    mbaxter authored
    * cannon: Increment MIPS.sol version
    
    * cannon: Add syscall args helper
    
    * cannon: Extract mmap helper
    
    * cannon: Extract sysRead helper
    
    Also:
    - Extract solidity memory helpers into new lib.
    - Reorganize syscall constants.
    
    * cannon: Add NatSpec documentation to solidity syscall helpers
    
    * cannon: Extract sysWrite helper
    
    * cannon: Use consistent naming convention
    
    * cannon: Extract sysFcntl helper, fix typos
    
    * cannon: Consolidate comments, fix formatting
    
    * cannon: Add helper for setting registers, pc fields
    
    * cannon: Reorganize syscall constants
    
    * cannon: Fix MIPSMemory import
    
    * cannon: Run semver-lock and snapshots
    
    * cannon: Explicitly inject proof offsets into helper fns
    
    Proofs offsets may differ between implementations, so these values must
    be passed into helper functions rather than calculated internally.
    
    * cannon: Remove hard-coded state.memRoot references from MIPSMemory.sol
    
    * cannon: Work around stack too deep error
    
    * cannon: Rework stack-too-deep fix
    
    * cannon: Run semver-lock and snapshots
    
    * cannon: Validate calldata size directly in readMem, writeMem
    
    * cannon: Run semver-lock and snapshots
    73d56a9d
Name
Last commit
Last update
..
deploy-config Loading commit data...
deploy-config-periphery Loading commit data...
deployments Loading commit data...
invariant-docs Loading commit data...
lib Loading commit data...
scripts Loading commit data...
snapshots Loading commit data...
src Loading commit data...
test Loading commit data...
.eslintignore Loading commit data...
.eslintrc.js Loading commit data...
.gas-snapshot Loading commit data...
.gitignore Loading commit data...
.npmignore Loading commit data...
CHANGELOG.md Loading commit data...
CONTRIBUTING.md Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...
STYLE_GUIDE.md Loading commit data...
VERSIONING.md Loading commit data...
foundry.toml Loading commit data...
package.json Loading commit data...
semver-lock.json Loading commit data...
slither.config.json Loading commit data...
slither.db.json Loading commit data...
tsconfig.json Loading commit data...