Autosar code analysis - the use of Source Insight


1. Introduction to Source Insight

Source insight is a simple and powerful lightweight code browsing editor. It is fast to start and easy to use. Many programmers should have used it! It supports almost all languages, such as C, C++, ASMA assembly, HTML, etc., and can create and maintain its high-performance symbol database, including symbols such as functions, variables, structures, and classes. It is especially convenient for reading codes of large-scale engineering projects.
However, Source insight is just a code browsing editor and does not include a compiler, so it does not have the ability to compile code.
AND

Two, Autosar code view

When using the Autosar architecture code, it is often encountered that the function cannot be viewed (in the left navigation bar, only FUNC can be displayed, but the interface name cannot be displayed), variables are parsed into VAR, and functions cannot be indexed and traced.
FUNC

Three, the solution

Because the AUTOSAR code adds a compiler abstraction layer, the code viewing tool cannot parse itÿ

Guess you like

Origin blog.csdn.net/qq_41908302/article/details/131273274