ethereum / solidity

Solidity, the Smart Contract Programming Language
https://soliditylang.org
GNU General Public License v3.0
23.3k stars 5.77k forks source link

Syntactic call graph as basis for type inference #14532

Open ekpyron opened 1 year ago

ekpyron commented 1 year ago

Prepare a call graph to be used in the context of Pass 4 of https://notes.ethereum.org/_OSmtx9aQAOHQXwa60IDsQ

Closely related to libsolidity/ast/CallGraph.* (graph structure) and libsolidity/analysis/FunctionCallGraph.* (generation of graph), but with the following key differences:

So basically what we need is just a map from function definitions that maps to all functions that are called or mentioned within the respective function.

0xalpharush commented 11 months ago

Could these docs be made public to the community?