WorstCaseStack
WorstCaseStack copied to clipboard
This program is used to do static stack analysis on C source code to determine the worst case stack usage for each function
I've got an error like below ``` Traceback (most recent call last): File "/home/mateusz/Documents/___STM32/ParaTNC/STM32L476_ParaMETEO/__stackanalysis/WCS.py", line 430, in main() File "/home/mateusz/Documents/___STM32/ParaTNC/STM32L476_ParaMETEO/__stackanalysis/WCS.py", line 409, in main call_graph.read_rtl(tu, rtl_ext) File "/home/mateusz/Documents/___STM32/ParaTNC/STM32L476_ParaMETEO/__stackanalysis/WCS.py", line 171,...
for function name `_ZN5Print5writeEPKc.part.2` the line: `_ZN5Print5writeEPKc.part.2 12` does not work. guess this is a parsing issue not expecting `.` in the name or such
parsing/processing failed for arduino interrupt handlers in su file ### case 1 ``` ISR(INT0_vect) { //code } ``` results in a valid su line `kbd.cpp:191:1:void __vector_1() 17 static` for which...
When dealing with function calls via pointers, I believe it would be a good addition to have the user specify the stack effect of such calls and use those figures...
looks like the format of `.cpp.su` files is slightly different resulting in a lot of functions getting unbound assigned. are pull requests wellcome - maybe to hacktoberfest? I may have...
For me using avr-g++ / gcc on linux (version 5.4) the filenames include .c oder .cpp in all variants. `main.cpp` `main.cpp.309r.dfinish` `main.cpp.o` `main.cpp.su` So the file search code should be...
Getting this errors. ``` Error data is missing in fxn dictionary {'tu': '.\\flexcan_irq.c', 'name': 'CAN0_ORed_IRQHandler.localalias.0', 'binding': 'LOCAL'} Error data is missing in fxn dictionary {'tu': '.\\flexcan_irq.c', 'name': 'CAN1_ORed_IRQHandler.localalias.1', 'binding': 'LOCAL'}...
Hi, I'm trying to use this to do some analysis on our project with this tool and I'm getting the follow exception on one of our functions when I run...