Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Carify unresolved calls entry #325

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Examples
Submodule Examples updated 181 files
11 changes: 11 additions & 0 deletions docs/cvl/methods.md
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,17 @@ unresolved function calls, but that may produce spurious counter examples.
Catch unresolved-calls entries let the user refine the summary used for
unresolved function calls.

Note that the catch unresolved-calls entry _only applies_ in cases where the called
function's _sighash_ is unresolved. In the example below there is a function
call `target.call(data)`. The sighash of the called function depends on the parameter
`data` and cannot be known beforehand.

```{cvlinclude} /CVLByExample/UnresolvedCallSummarization/TrusterLenderPool.sol
:start-at: function flashLoan
:end-at: }
:emphasize-lines: 13
```

One can specify the scope (`unresolved external in <scope>`) for which the
unresolved summary will apply. The options are:
* `Contract.functionSignature()` for summarizing unresolved calls within this function
Expand Down
Loading