HBehrens / puncover

Analyses C/C++ build output for code size, static variables, and stack usage
MIT License
419 stars 93 forks source link

empty info when opening web window #98

Open baiwfg2 opened 10 months ago

baiwfg2 commented 10 months ago

I run it on x86_64 in virtualbox, but it shows empty. Don't know what's wrong.

gcc and other tools are located /usr/bin, so I have to use --gcc-tools-base , or error will be reported:

Unable to find gcc tools base dir (tried searching for 'arm-none-eabi-objdump' on PATH), please specify --gcc-tools-base

puncover --gcc-tools-base /usr/bin/ --elf_file a.out

image

lawm commented 9 months ago

I had this problem because my ELF was 64bit, and puncover couldn't parse the address. Fixed with https://github.com/HBehrens/puncover/pull/51