japaric / cargo-call-stack

Whole program static stack analysis
Apache License 2.0
563 stars 51 forks source link

Where are the other functions? #93

Open xphoniex opened 1 year ago

xphoniex commented 1 year ago

I'm running a program for ARM target which calls function A, which calls B, and B calls B1 and B2. Each of those call B_end:

   A──►B┌─► B.1 ─► B_end
        │
        └─► B.2 ─► B_end

none of the fns are inline, when running cargo +nightly call-stack --bin <name>, I'm only getting:

name::B.2
name::B_end

where are the rest? are they inlined? I'm even seeing calls to other crates that they make but nothing else from my own crate.