japaric / cargo-call-stack

Whole program static stack analysis
Apache License 2.0
579 stars 52 forks source link

BUG: unhandled llvm intrinsic #17

Closed dbdr closed 5 years ago

dbdr commented 5 years ago

My first attempt at using this tool failed with:

[...]
[2019-05-28T15:39:56Z WARN  cargo_call_stack] assuming that `llvm.umul.with.overflow.i64` directly lowers to machine code
thread 'main' panicked at 'BUG: unhandled llvm intrinsic: llvm.smul.with.overflow.i16', /home/dbonniot/.cargo/registry/src/github.com-1ecc6299db9ec823/cargo-call-stack-0.1.3/src/main.rs:845:21

Seeing the previous warning for a similar intrinsic, I extended the list of intrinsics to avoid the panic. PR upcoming...

japaric commented 5 years ago

Fixed in #19 / #18.