You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
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.
The text was updated successfully, but these errors were encountered:
When generating a call graph, the extensions sees typecasting like
![image](https://private-user-images.githubusercontent.com/96236521/249769865-d7f7f8cb-b243-4abe-9cdc-010538bbe1ea.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU2NTc2MTksIm5iZiI6MTcyNTY1NzMxOSwicGF0aCI6Ii85NjIzNjUyMS8yNDk3Njk4NjUtZDdmN2Y4Y2ItYjI0My00YWJlLTljZGMtMDEwNTM4YmJlMWVhLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MDYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTA2VDIxMTUxOVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTlmZTA2ZTI5NzQ3OWNlMzQxNjdhMTgzNjgwYzc2N2U3ZTExM2ZlYzk1NjcxMTVmNjM1NWMyOTVjOTdkMGRkODgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.Fol0vMrL6ptmSHJgO9DsoKPLyJp8UsdKBA_FHOXvaH4)
address(this)
oraddress(some contract/interface)
as a function and this is not only incorrect, but also visually clutters the chart. See example: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.The text was updated successfully, but these errors were encountered: