japaric / cargo-call-stack

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

`cargo-call-stack` fails to parse #33

Closed datdenkikniet closed 2 years ago

datdenkikniet commented 3 years ago

When trying to run this project through cargo-call-stack, an error is produced. The error message instructs me to include the first define item, but it's pretty long. I've included it in the repository for easier access, here.

My cargo version is 1.54.0-nightly (e51522ab3 2021-05-07), rustc 1.54.0-nightly (5c0292654 2021-05-11) and cargo-call-stack 0.1.5

I've tried to figure out what is going wrong, and where, but am having a hard time figuring out how to get some more useful output out of nom/the program besides the entire define block.

A fix, or pointers on how to figure out where exactly the error is occurring, are greatly appreciated!

taqtiqa-mark commented 3 years ago

@datdenkikniet I believe this is a duplicate of issue #32 ?

japaric commented 2 years ago

I can't cargo build the code but try cargo-call-stack v0.1.7 and nightly-2022-06-15 after fixing the compilation errors and open a new issue if cargo-call-stack doesn't work.