crytic/slither

[Bug]: all statements with `.` are reported as external calls

Open

#2,073 创建于 2023年8月1日

在 GitHub 查看
 (1 评论) (0 反应) (0 负责人)Python (4,769 star) (886 fork)batch import
buggood first issue

描述

Describe the issue:

I ran slither . --print function-summary to view external calls for functions. The resulting "External Calls" column treats any statement with a . as an external call. This includes solidity built-ins like abi.encode, library accesses like Address.sendValue, and struct field accesses.

Code example to reproduce the issue:

git clone https://github.com/scopelift/pooltogether-governor-upgrade/
cd pooltogether-governor-upgrade
forge install
slither . --print function-summary

Version:

0.9.6

Relevant log output:

No response

贡献者指南