Saturday, October 24, 2009

Memory dump in the Visual Studio 2005

If you want to watch memory dump in the Visual Studio 2005,

In the debug mode,
Press debug menu icon
listed memu > Breakpoints, Output, ...
Click Memory

Memory dump window added in the Visula Sutdio 2005.

YAFFS

Linux File System
YAFFS (Yet Another Flash File System)

Android file system is YAFFS.
& List of File Systems

Wednesday, October 21, 2009

stack, heap, and bss ...

In the programming, excution file (.exe or .bin) is consist of below structure.

1. Text (code) segment

2. Data segment
2.1 Initialized Data
2.1.1 Initialized read only Data
2.1.2 Initialized read/write Data
2.2 Uninitialized (bss: Block Started by Symbol)
3. Heap segment (in the run time, size is decided)
Dynamic allocated variables
4. Stack segment (in the compile time, size is decided)
Automatically allocated variables (local variables) and other stack frame entries

Binary or Excution file is "Text + Initialized Segment".


Graphically description is

/-------------------------/ High Address (Memory Address)
| |
| Stack |
| |
/-------------------------/
| |
| Heap |
| |
/-------------------------/
| Uninitialized data |
| ---------Data---------- |
| Initialized data |
/-------------------------/
| |
| Text |
| |
/-------------------------/ Low Address (Memory Address)

http://kldp.org/node/199#comment-461
Data Segment
BSS

Thursday, October 8, 2009

Profile or Profiling in Visual C++ 6.0

If you want to optimize source code in Visual C++ 6.0, You can ues the function "Profile".

How can you use this fuction, "Profile"?

1. Project > Settings > Link
Check: Enable profileing and Generate Map file
2. Build > Rebuild All
3. Build > Profile
function coverage
function timming
mix
custom mode
4. Profiling ...
5. After terminating, stop Profiling.
6. And then, display profile infomation

Enable Profiling

SDET

SDET: Software Design Engineer in Test
Tests and critiques software components and interfaces in more technical depth, writes test programs to assure quality, and develops test tools to increase effectiveness.

http://en.wikipedia.org/wiki/Sdet
http://microsoftjobsblog.com/
Microsoft software development engineer in test (SDET) interview questions