News for hackers. Stuff that matters.
Re:Ask not what the compiler can do for you by hra5th on Friday May 05, 2023 @02:18PM (#35833161)
For rust code, I have found https://github.com/japaric/cargo-call-stack to be the best available option, as it does take advantage of how Rust types are implemented in LLVM-IR to handle function pointers / dynamic dispatch a little better. An even better solution would try to use MIR type information as well to further narrow down targets of dynamic calls in a Rust-specific way, but no such tool exists that I know of.

There are no comments on this comment yet.