![]() If you are aware of other call-graph generators please let us know. We have also tried to evaluate call-graph generator cargo-call-stack, but we were not able to run it successfully on our benchmark. My aim is to create a mini in-memory custom graph database with some augmented low level features. You can find a short list of several of the calls (with links to the well documented code) that are covered in the benchmark in the following README. Hello, I am new to Rust - exploring whether to use it. All comments and pull requests with ways to call a function that we have missed are very welcomed. Given our limited experience with Rust we would be grateful if you could provide any kind of feedback. Our next goal is to create a sound call-graph generator for Rust programs that will enable more sophisticated analyses in the Rust ecosystem setting, continuing the work started with RustPräzi. It can also serve as documentation of all the possible ways functions and methods may be called in Rust code. This benchmark aims to enable call-graph generator implementers to assess the soundness of call-graphs generated by their tools. The benchmark is a collection of hopefully all the possible ways to call a function or a method within and across package boundaries in Rust. To quantify these sources and better understand what guarantees call graph generators for Rust programs are able to provide, we developed the “rust-callgraph-benchmark”. For example, projects or users that rely on the LLVM call graph produced by LLVM optimizer will quickly see that calls of dynamic nature, i.e., dynamic dispatch and function pointer calls, are missing. While these analyses are useful, there are problems with the guarantees existing tools can provide us. Underpinning many static analysis techniques are call graphs graphs that capture the calling relationship between functions in the source code and are particularly useful for building functionality such as "goto definition" or "vulnerability analysis". The Rust community is seeing a growing number of static analysis projects such as rls and rustfix that provide users with rich and actionable functionality to fix problems or navigate through their large codebases.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |