- 博客(19)
- 资源 (1)
- 收藏
- 关注
原创 内核数据结构mm_struct
<br />内核数据结构mm_struct中的成员变量start_code和end_code是进程代码段的起始和终止地址,start_data和 end_data是进程数据段的起始和终止地址,start_stack是进程堆栈段起始地址,start_brk是进程动态内存分配起始地址(堆的起始地址),还有一个 brk(堆的当前最后地址),就是动态内存分配当前的终止地址。<br /><br />C语言的动态内存分配基本函数是malloc(),在Linux上的基本实现是通过内核的brk系统调用。brk()是一个非常
2010-10-31 20:21:00 1103
原创 The ACM Computing Classification System
<br />http://www.acm.org/about/class/ccs98-html
2010-10-29 20:44:00 1363
转载 Linux查看CPU及系统信息
<br /><br />FROM: http://hi.baidu.com/yilinghl/blog/item/5b17918b097839d4fc1f103f.html<br /> <br />CPU:<br />more /proc/cpuinfo<br />-------文件会显示cpu的信息processor 会从0开始记数 继续下去多个cpuflags 如果有 ht 说明支持超线程技术判断物理CPU的个数可以查看physical id 的值,相同则为同一个物理 CPU<br />附:
2010-10-26 21:05:00 922
原创 备份: 我的系统信息
<br /><br />$ more /proc/cpuinfo<br />processor: 0<br />vendor_id: GenuineIntel<br />cpu family: 6<br />model: 15<br />model name: Intel(R) Core(TM)2 Duo CPU E6750 @ 2.66GHz<br />stepping: 11<br />cpu MHz: 2000.000<br />cache size: 4096 KB<br />physic
2010-10-26 21:05:00 676
原创 GCC -g OPTION
-gProduce debugging information in the operating system's native format (stabs, COFF, XCOFF, or DWARF). GDB can work with this debugging information.<br />On most systems that use stabs format, -g enables use of extra debugging information that only GDB
2010-10-22 16:01:00 781
转载 Ubuntu系统技巧之在命令行进行数学计算
在命令行里面,有时需要进行一个简单的手工数学计算。内置的“bc”命令是一种“任意精度计算语言”的前端,如果你是一个正在数学方面工作和学习的人员,在Man里面查看它如何工作是一件非常有意义的事情。所以,你可以在命令行进行一些日常的计算工作。 使用bc,在命令提示符下面输入“bc”即可,然后就可以使用“+”、“-”、“*”(乘)和“/”(除)来进行技术了。譬如计算200乘以133的结果,输入“200*133”,然后输入回车就可以了。 默认情况下,bc的计算结果没有小数位,你可以输入“scale=8”,这
2010-10-20 15:07:00 1614
转载 UbuntuSkills
http://wiki.ubuntu.org.cn/Ubuntu%E6%8A%80%E5%B7%A7#.E6.9F.A5.E7.9C.8B.E8.BD.AF.E4.BB.B6xxx.E5.AE.89.E8.A3.85.E5.86.85.E5.AE.B9
2010-10-20 14:59:00 695
转载 error C2248: cannot access protected member declared in class '****'
<br />from: http://hi.baidu.com/%BC%BC%CA%F5%B2%BB%CA%C7%B7%B9%CD%EB/blog/item/496b5b507143c5858d54305f.html<br /> <br />vs2008下,从“类”创建的对象无法访问该“类”的 protected 或 private 成员,不可以执行拷贝构造函数。<br />我遇到这个问题时,情况是这样的:<br />=> 本来有一个类QGraphicsItem,我添加新类GeologicalItem并继承
2010-10-20 12:13:00 11897
原创 using namespace std
<br />표준라이브러리에 있는 모든 것은 std namespace 안에 있습니다.<br /> <br /><br />C 에서 호환을 위한 라이브러리와 C++ 에서 추가된 표준라이브러리 들은 모두<br />namespace std 에 들어있습니다.<br />C++ 에서 stdlib 을 쓰고자 한다면 두 가지 방법이 있을 수 있겠지요.<br />1. #include <stdlib.h><br />2. #include <cstdlib><br />이 때 1번에 들
2010-10-19 18:25:00 907
原创 The Art of Exploitation 2nd Edition (Jon Erickson), Official LiveCD ISO
<br />http://www.mininova.org/det/2533556
2010-10-18 14:30:00 768 1
原创 gdb-disassemble
moss@moss-PC:~$ cd Linux_Programming/moss@moss-PC:~/Linux_Programming$ gcc -o test test.c moss@moss-PC:~/Linux_Programming$ gdb ./testGNU gdb (GDB) 7.2-ubuntuCopyright (C) 2010 Free Software Foundation, Inc.License GPLv3+: GNU GPL version 3 or la
2010-10-18 01:18:00 2587
原创 UPLINK version `GCC_4.2.0' not found (required by /usr/lib/libstdc++.so.6)
<br />I had the same problem. After checking the Uplink forums I found this suggestion:<br /><br />"Try renaming or deleting the libgcc_s.so.1 file in the uplink/lib directory." <br /><br />Works great for me.
2010-10-17 00:13:00 1423
原创 uplink
http://u-topoi.appspot.com/122.htmlhttp://www.linuxeden.com/forum/archiver/tid-161348.htmlhttp://forum.ubuntu.org.cn/viewtopic.php?f=34&t=266742&start=0
2010-10-16 01:11:00 1504
转载 How to disable screen locking after sleep
<br />FROM: http://superuser.com/questions/71465/how-to-disable-screen-locking-after-sleep-on-ubuntu-9-10<br /> <br /><br />Try:<br />Go System > Preferences > Screensaver and uncheck the box that says lock when screensaver is active.<br />Elsegconftool-2
2010-10-15 13:30:00 782
原创 OProfile on Ubuntu 10.10 (OCT. 13, 2010)
moss@moss-PC:/usr/src/linux-headers-2.6.35-22$ sudo apt-get install oprofileReading package lists... DoneBuilding dependency tree Reading state information... DoneThe following extra packages will be installed: libopagent1Suggested pac
2010-10-13 21:57:00 1601
原创 Hardwired control versus
<br />Hardwired control is a control mechanism to generate control signals by using appropriate finite state machine (FSM). Microprogrammed control is a control mechanism to generate control signals by using a memory called control storage (CS), which cont
2010-10-05 15:49:00 743
转载 Amdahl’s law (阿姆达尔定律)的演化和思考
from: http://manio.org/progress-and-thoughts-of-amdahls-law-286.htmlG.M.Amdahl在1967年提出了Amdahl’s law,针对并行处理的scalability给出了一个模型,指出使用并行处理的提速由问题的可并行的部分所决定。这个模型为并行计算系统的设计者提供了指导。其形式如下:f为问题中可被并行处理的部分的比例,m为并行处理机的数量,Speedup为并行后相比串行时的提速。Amdahl’s law表明在问题的可并行部分不大时,增加
2010-10-03 00:01:00 2303
The.Hacker_'s.Handbook.2007
2011-04-04
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人