开发者

Stack analysis tools

开发者 https://www.devze.com 2023-02-05 01:30 出处:网络
I\'m working in automotive field and my Compan开发者_开发知识库y tends to buy a stack analysis tool (a tool to compute the maximum stack for a given source code or binary). We are using different targ

I'm working in automotive field and my Compan开发者_开发知识库y tends to buy a stack analysis tool (a tool to compute the maximum stack for a given source code or binary). We are using different targets ranging from 8 bits to 32 bits, previously we were using a home made tool, and we are currently evaluating stack analyzer from Absint, any other tool suggestions will be helpful.


If you can be satisfied with the kind of approximation that can be made by doing the analysis at the source level, and you are using C, Frama-C's value analysis can give you an exhaustive list of call stacks (in terms of source functions) that can happen at run-time.

Frama-C also provides the building blocks to quickly convert these source-level possible call stacks into stack depths if you know precisely how your C compiler works: for each function, you can programmatically inspect local variables, arguments, ...

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号