- 博客(15)
- 资源 (11)
- 收藏
- 关注
原创 kernel-000-bootsec.s
计算机启动流程初期过程简述:计算机上电, 给cpu某一引脚一个脉冲, 初始化寄存器的值cs:ip 指向 0xfffffff0跳转到BIOS某处执行BIOS把MBR加载到0x7c00处, 并跳到此处执行MBR把自己转移到0x90000处, 并继续执行把setup程序载如到0x90200处 (通过BIOS中断实现)把system载入到0x10000处 (通过BI
2016-04-27 11:45:19 542
转载 生产者-消费者-信号量-共享内存-循环队列
代码转自别处,稍有修改,主要是宏定义,我觉得不够直观的地方给改了,逻辑没变用信号量来控制队列#include #include #include #include #include #include #include #define
2016-04-20 14:48:23 1358
转载 My Biggest Regret As A Programmer
A little over 20 years ago I was at a crossroads. My second company was petering out when our 5 years of building Deltagraph for the publisher ended (they wanted to move into the nascent internet spac
2016-04-15 16:16:40 523
转载 WeChall - overthewire
WeChall ScoreboardOverTheWire makes use of a scoreboard provided by WeChall to allowplayers to track their own progress and promote some healthy competitionbetween players. To make use of this sco
2016-04-13 15:08:05 1074
原创 utumno - 7
root@today:~/Desktop/misc/utumno/utumno6# ssh utumno7@178.79.134.250utumno7@178.79.134.250's password: totiquegaeutumno7@melinda:~$ mkdir /tmp/utu7utumno7@melinda:~$ cd /tmp/utu7utumno7@melind
2016-04-13 15:02:39 776
原创 utumno - 6
root@today:~/Desktop/misc/utumno/utumno6# ssh utumno6@178.79.134.250utumno6@178.79.134.250's password: eiluquiethutumno6@melinda:~$ mkdir /tmp/utu6utumno6@melinda:~$ cd /tmp/utu6utumno6@melind
2016-04-13 14:48:53 1247
原创 utumno - 5
root@today:~/Desktop/misc/utumno/utumno5# ssh utumno5@178.79.134.250utumno5@178.79.134.250's password: woucaejiekutumno5@melinda:~$ mkdir /tmp/utu5utumno5@melinda:~$ cd /tmp/utu5utumno5@melind
2016-04-13 14:45:19 663
原创 utumno - 4
root@today:~/Desktop/misc/utumno/utumno4# ssh utumno4@178.79.134.250utumno4@melinda:~$ cd /tmp/utu4utumno4@melinda:/tmp/utu4$ gdb -tui /utumno/utumno4(gdb) layout asm(gdb) b *main+108Breakpoint
2016-04-13 14:43:03 674
原创 应用程序运行时的虚拟内存布局 - 进程 - 线程
每一个进程都是类似上图的内存分布当进程fork一个子进程的时候, 子进程拷贝父进程当前的内存空间, 包括环境变量, 栈空间, 堆空间, 代码段, 数据段等等所以在子进程调用exec类函数之前, 所有都是和父进程一样的所有线程共享所属进程的环境变量和栈空间
2016-04-08 16:47:16 463
原创 utumno - 3
┌──────────────────────────────────────────────────────────┐esp+0x38 chr │0x80483fd push %ebp │esp+0x3c cnt │0x80483fe mov %esp,%ebp │es
2016-04-08 16:41:53 674
转载 Intel and AT&T Syntax
Intel and AT&T Syntax.Intel and AT&T syntax Assembly language are very different from eachother in appearance, and this will lead to confusion when one first comesacross AT&T syntax after having lea
2016-04-08 14:06:30 592
转载 x86 Registers
x86 RegistersThe main tools to write programs in x86 assembly are the processor registers. The registers are like variables built in the processor. Using registers instead of memory to store val
2016-04-07 11:26:47 506
原创 utumno - 2
root@today:~# ssh utumno2@178.79.134.250utumno2@178.79.134.250's password: ceewaceiphutumno2@melinda:~$ cd /tmp utumno2@melinda:/tmp$ mkdir utu2utumno2@melinda:/tmp$ cd utu2utumno2@melinda:
2016-04-07 10:53:04 499
原创 utumno - 1
/* utumno1.c */#include #include /** stack environment of main * env * argv * argc * eip * ebp * align * stack of main *//** stack environment of run * filename + 3 * <== ebp + 0x0
2016-04-07 09:22:38 646
原创 utumno - 0
因为utumno0不可读, 开始以为用strace可以获取一些信息最后只是调用write,并没什么用(从这里可以知道库函数puts最后是调用write来实现的)最后利用xocopy把可执行代码dump出来gcc xocopy.c -o xocopy -m32./xocopy /utumno/utumno0./xocopy -a 0x08049000 /utumno/utumno
2016-04-07 09:00:59 1344
DM9000_Application_Notes_Ver_1_22.pdf
2015-12-08
core java 第八版代码
2015-02-14
core java 第七版代码
2015-02-14
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人