runtimeverification / runtimeverification/kontrol
Support `ffi` cheatcode
Open
Nobody has claimed this yet.
engagement
enhancement
- Dominant language
- Python
- Stars
- 122
- Forks
- 16
- PR merge metrics
- No merged PRs in 30d
Description
Add support for the vm.ffi cheatcode that allows calling an arbitrary command if ffi is enabled:
function ffi(string[] calldata) external returns (bytes memory);
One way to emulate ffi is to return a symbolic value.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the issue description and the linked Foundry ffi documentation to understand the enabled-command behavior and the vm.ffi signature. Then locate Kontrol's cheatcode handling and existing symbolic-value support; done means vm.ffi is recognized and returns a symbolic value when ffi is enabled.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, solidity
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100