Tuesday, June 05, 2007

Secure Development

1. Secure UNIX Programming FAQ
http://www.whitefang.com/sup/

2. Secure Programming for Linux and Unix HOWTO
http://www.dwheeler.com/secure-programs/

Saturday, June 02, 2007

自由源码浏览工具source navigator

source navigator是redhat公司开发的,可在各种操作系统中运行 的源代码浏览工具,
但是该公司自2004年来就没有再维护了。
现在开源界有热心人试图接管了source navigator的后续工作,
http://developer.berlios.de/projects/sourcenav/

Sunday, December 10, 2006

Software Measurement Links



1. Software measurement index
http://yunus.hacettepe.edu.tr/~sencer/research.html

Software measurement enable us to
.estimate cost and effort devoted to project
.determine quality of software
.predict maintainability of software
.validate the best practices of software development

The metrics of software size:
.Simple metrics: LOC(line of code) and FP(Funciton points).
.Complex metrics: Halstead and McCabe
.Object-Oriented Metric

2. History of software measurement
http://irb.cs.tu-berlin.de/~zuse/metrics/3-hist.html

3.

Thursday, November 23, 2006

/proc file system


* [1] 有关Linux proc 文件系统的文档位于: /usr/src/linux/Documentation/filesystems/proc.txt
* [2] RedHat Guide: The /proc File System: http://www.redhat.com/docs/manuals/linux/RHL-7.3-Manual/ref-guide/ch-proc.html

Sunday, November 12, 2006

elf:From The Programmer's Perspective

http://linux4u.jinr.ru/usoft/WWW/www_debian.org/Documentation/elf/elf.html

Chinese version:
http://zhanjun.net/?q=node/17

Understanding ELF using readelf and objdump
http://www.linuxforums.org/misc/understanding_elf_using_readelf_and_objdump.html

Biew: Alternative tool to inspect ELF structure

http://biew.sourceforge.net/

download the source code of the GUI tool.

releated tools: file, objdump, size, readelf

1. Elf file types: executable, relocatable(.o), shared object(.so)
$file file_name

2. sections of ELF
.init
be called before calling main().
.fini
be called after main() return.
<>
.ctors
constructor pointer array. __CTOR_LIST__
.dtors
desctructor pointer array. __DTOR_LISt__
$objdump -s -j .ctors ./crtbegin.o
.text
__do_global_dtors_aux() travel over __DTOR_LIST__
.

Thursday, November 09, 2006

qt links

1. C.plus.plus.GUI.Programming.with.Qt.4.Jun.2006
http://www.hpdown.com/bookcn/15/2213.html
or search it in www.verycd.com

Saturday, September 09, 2006

Performance tune

1. dead link(maybe)
http://www.intel.com/software/products/college/vtune/getstart/tutorial/index.htm

2. Reference in book
代码优化:有效使用内存 第1章 1.6

3. A Simple Tour
http://hpcjl.ustc.edu.cn/doc/34.ppt

4.vtune 8.1 system requirement
http://www.intel.com/cd/software/products/asmo-na/eng/vtune/vlin/239147.htm

5. Improving Program Performance
http://docs.sun.com/source/819-3690/Perf.html

6.

How I Got 15x Improvement Without Really Trying: A Case Study in Program Optimization

http://developers.sun.com/sunstudio/articles/Feo/feo_content.html