Consensys / vscode-solidity-auditor

Solidity language support and visual security auditor for Visual Studio Code

Home Page:https://marketplace.visualstudio.com/items?itemName=tintinweb.solidity-visual-auditor

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Generating the graph with type casting address(...) as a function.

andreitoma8 opened this issue · comments

When generating a call graph, the extensions sees typecasting like address(this) or address(some contract/interface) as a function and this is not only incorrect, but also visually clutters the chart. See example:
image
I think the fix should be pretty easy on this, just adding logic to ignore a function if it's name is address since that's impossible anyway in Solidity because the term is reserved for the type.