ISOC/C++
Dump Analysis
Overview
This 3 day course is designed to complement the
ISOC Dump Analysis and is basically an extended
version of that class. It allows extra time to
cover subjects such as C++ linkage, descriptors and
DLL Dump Analysis. If you use a 'mixed' C/C++
development environment this is the class for you. The course
can be customised to individual customer requirements
by including customer dumps, listing and build scripts
in the notes and customer dumps for the exercises.
Pre-requisites
The syllabus is designed for TPF developers who
have prior TPF
4.1 Dump Analysis experience and understand
the layout of a formatted TPF dump. Students should
ideally be proficient in coding programs in ISOC.
Audience
Programmers who are required to read and analyse
dumps from programs written using C/C++ in a TPF
environment
Student Numbers
The maximum recommended student to instructor
ratio is 12:1
Objectives
By the end of the course, the delegates will be
able, with the aid of course notes to:
· List the Register usage within an ISOC
DLM
· Identify the failing function, and its
component within the DLM.
· Use the Listing and Build Script to
identify the source code instruction
in error.
· Use the Listing to identify variables held
in registers vs the stack.
· Locate function stacks within a dump and
identify variable values within the stack.
· Identify static variables and global variables
in the static stack.
· Identify dump locations within a DLL.
· List the different linkages and parameter
lists used in C and C++ programs.
Course
Outline
| Introduction |
|
Review
of a TPF 4.1 dump and students current knowledge |
| ISOC
Listing |
|
Breakdown
of a Listing
ISOC Register Usage and Conventions
Understanding the Pseudo Assembler
Understanding the Epilog and Prolog
Function Descriptors vs Vcons
Compiling ISOC and C++ - differences |
| DLM/DLL
Build |
|
How
the DLM is built
Analyse the output from a DLM Build
The layout of the components
Identifying Static variables
RENT/NORENT Variables
Stubs
Inlining of functions - understanding the
listing |
| Review
a dump |
|
ISOC
Dump Tags
The ISOC Task Control Area
Function stacks and their layout
Identifying variable and parameter values
Using the Link Map information
Heap Storage and its Layout
Implications of different optimisation Levels |
| C++ |
|
C++
Compiler options
Type 1 and Optlink parameters
Function and Variable Descriptors
Static vs Extern function linkage
DLL Dump Analysis |
| Exercises |
|
Throughout
the class there are many exercises
involving
both optimised and non-optimised dumps. |
back
to top