Exceptions: An exception is transfer of control to the operating system in response to some event. exception processing by exception handler Process(进...
                            
                            
                                分类:
其他好文   时间:
2014-11-23 15:38:24   
                                阅读次数:
271
                             
                    
                        
                            
                            
                                Buffer Overflows IA32 Linux Memory Layout Stack Runtime stack (8MB limit) Heap Dynamically allocated storage Allocated by malloc(), calloc(), new()...
                            
                            
                                分类:
其他好文   时间:
2014-11-23 13:06:18   
                                阅读次数:
207
                             
                    
                        
                            
                            
                                Stack-Based Languages Need some place to store state of each instantiation(实例) Arguments Local variables Return pointer
                            
                            
                                分类:
其他好文   时间:
2014-11-22 20:15:20   
                                阅读次数:
167
                             
                    
                        
                            
                            
                                Moving Data: IA32 movx Source, Dest x is one of {b(1-byte), w(2-byte), l(4-byte)} Operand Types Immediate: Constant integer data Example: $0x400, $-53...
                            
                            
                                分类:
其他好文   时间:
2014-11-22 18:51:31   
                                阅读次数:
201
                             
                    
                        
                            
                            
                                The time required to execute a program depends on: The program The compiler The instruction set architecture(ISA) The hardware implementation The ISA ...
                            
                            
                                分类:
其他好文   时间:
2014-11-22 17:25:53   
                                阅读次数:
197
                             
                    
                        
                            
                            
                                printf("Signed Max:%d\n", 0x7FFFFFFF); printf("Signed Min:%d\n", 0x80000000); printf("Unsigned Max:%u\n", 0xFFFFFFFF); printf("Unsigned Min:%u\n", 0x0...
                            
                            
                                分类:
其他好文   时间:
2014-11-22 01:58:47   
                                阅读次数:
292
                             
                    
                        
                            
                            
                                There are a fixed number of registers in the CPU Registers hold data Data move from Memory to Registers Results move from Registers back to Memory The...
                            
                            
                                分类:
其他好文   时间:
2014-11-21 23:08:48   
                                阅读次数:
245
                             
                    
                        
                            
                            
                                Memory Allocation API In Linux Kernel && Linux Userspace、kmalloc vmalloc Difference、Kernel Large Section Memory Allocation
                            
                            
                         
                    
                        
                            
                            
                                1. gcc的__attribute__编译属性要了解Linux Kernel代码的分段信息,需要了解一下gcc的__attribute__的编绎属性,__attribute__主要用于改变所声明或定义的函数或 数据的特性,它有很多子项,用于改变作用对象的特性。比如对函数,noline将禁止进行内联...
                            
                            
                                分类:
其他好文   时间:
2014-11-21 15:41:55   
                                阅读次数:
141
                             
                    
                        
                            
                            
                                Reference material:Thinking In C++ 2nd eidition chapter 5 section "Handle classes"If there's something need to be hidden from clients of the class (su...
                            
                            
                                分类:
编程语言   时间:
2014-11-19 20:08:08   
                                阅读次数:
235