CMP - United Business Media TechOnline
All Articles Products Courses Papers VirtuaLabs Webinars Web



 
LoginRegister
      TechOnline > Learning >  Technical Paper
Technical Papers
Prevention is Better Than The Cure: Compiler Run Time Error Checking

Click to Download
pdf logo
Mentor Graphics Technical Library
June 11, 2009
 

Mentor Graphics

Compilers are generally thought of as being tools that convert a high level language, like C or C++, into assembler or machine code. Of course, they do perform this function, but have the potential to do much more. Code may be generated by a compiler, or be extracted from its run-time library, which adds to the functionality of the user-written code in order to detect run-time errors and take appropriate action. This is useful in any software development context, but for embedded systems, where a fail-safe error control system is often required, this compiler functionality is essential. This paper reviews a number of the error detecting and trapping techniques that are available and discusses how these techniques are implemented in modern compilers. The availability of such functionality in embedded compilers on the market today is also reviewed.

Note: By clicking on the above link, this paper will be emailed to your TechOnline log-in address by Mentor Graphics.

 
Rate this paper
WORSE | BETTER
1 2 3 4 5

submit a paper
Follow Tech Papers

Mentor Graphics
   

TECH PAPER
1. Liquid Cooling of Bright LEDs for Automotive Applications

TECH PAPER
2. Nucleus Graphics: A New Approach to User Interface Creation for Consumer Electronic Devices

TECH PAPER
3. Addressing Reliability and Circuit Verification Challenges with Calibre PERC

TECH PAPER
4. Power Management for Portable Consumer Electronic Devices