⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cacheprof_hooks2_x86.s

📁 深入理解计算机系统(computer system:a programmer s perpective)是一本非常经典的教材
💻 S
字号:
.section .ctors,"aw"	.long cacheprof_register2_me.section .dtors,"aw"	.long cacheprof_finalise2_me	.text        .align 4cacheprof_hook_Rd1:	pushl %ecx	pushl %edx	pushl %esi	pushl %edi	pushl %ebp	pushfl	pushl %eax         #  eax has addr referenced	pushl %ebx         #  ebx has addr of cc	call cacheprof_log_Rd1	addl $8,%esp	popfl	popl %ebp	popl %edi	popl %esi	popl %edx	popl %ecx	ret	cacheprof_hook_Rd2:	pushl %ecx	pushl %edx	pushl %esi	pushl %edi	pushl %ebp	pushfl	pushl %eax         #  eax has addr referenced	pushl %ebx         #  ebx has addr of cc	call cacheprof_log_Rd2	addl $8,%esp	popfl	popl %ebp	popl %edi	popl %esi	popl %edx	popl %ecx	ret	cacheprof_hook_Rd4:	pushl %ecx	pushl %edx	pushl %esi	pushl %edi	pushl %ebp	pushfl	pushl %eax         #  eax has addr referenced	pushl %ebx         #  ebx has addr of cc	call cacheprof_log_Rd4	addl $8,%esp	popfl	popl %ebp	popl %edi	popl %esi	popl %edx	popl %ecx	retcacheprof_hook_Rd8:	pushl %ecx	pushl %edx	pushl %esi	pushl %edi	pushl %ebp	pushfl	pushl %eax         #  eax has addr referenced	pushl %ebx         #  ebx has addr of cc	call cacheprof_log_Rd8	addl $8,%esp	popfl	popl %ebp	popl %edi	popl %esi	popl %edx	popl %ecx	retcacheprof_hook_Mo1:	pushl %ecx	pushl %edx	pushl %esi	pushl %edi	pushl %ebp	pushfl	pushl %eax         #  eax has addr referenced	pushl %ebx         #  ebx has addr of cc	call cacheprof_log_Mo1	addl $8,%esp	popfl	popl %ebp	popl %edi	popl %esi	popl %edx	popl %ecx	ret	cacheprof_hook_Mo2:	pushl %ecx	pushl %edx	pushl %esi	pushl %edi	pushl %ebp	pushfl	pushl %eax         #  eax has addr referenced	pushl %ebx         #  ebx has addr of cc	call cacheprof_log_Mo2	addl $8,%esp	popfl	popl %ebp	popl %edi	popl %esi	popl %edx	popl %ecx	ret	cacheprof_hook_Mo4:	pushl %ecx	pushl %edx	pushl %esi	pushl %edi	pushl %ebp	pushfl	pushl %eax         #  eax has addr referenced	pushl %ebx         #  ebx has addr of cc	call cacheprof_log_Mo4	addl $8,%esp	popfl	popl %ebp	popl %edi	popl %esi	popl %edx	popl %ecx	retcacheprof_hook_Mo8:	pushl %ecx	pushl %edx	pushl %esi	pushl %edi	pushl %ebp	pushfl	pushl %eax         #  eax has addr referenced	pushl %ebx         #  ebx has addr of cc	call cacheprof_log_Mo8	addl $8,%esp	popfl	popl %ebp	popl %edi	popl %esi	popl %edx	popl %ecx	retcacheprof_hook_Wr1:	pushl %ecx	pushl %edx	pushl %esi	pushl %edi	pushl %ebp	pushfl	pushl %eax         #  eax has addr referenced	pushl %ebx         #  ebx has addr of cc	call cacheprof_log_Wr1	addl $8,%esp	popfl	popl %ebp	popl %edi	popl %esi	popl %edx	popl %ecx	ret	cacheprof_hook_Wr2:	pushl %ecx	pushl %edx	pushl %esi	pushl %edi	pushl %ebp	pushfl	pushl %eax         #  eax has addr referenced	pushl %ebx         #  ebx has addr of cc	call cacheprof_log_Wr2	addl $8,%esp	popfl	popl %ebp	popl %edi	popl %esi	popl %edx	popl %ecx	ret	cacheprof_hook_Wr4:	pushl %ecx	pushl %edx	pushl %esi	pushl %edi	pushl %ebp	pushfl	pushl %eax         #  eax has addr referenced	pushl %ebx         #  ebx has addr of cc	call cacheprof_log_Wr4	addl $8,%esp	popfl	popl %ebp	popl %edi	popl %esi	popl %edx	popl %ecx	retcacheprof_hook_Wr8:	pushl %ecx	pushl %edx	pushl %esi	pushl %edi	pushl %ebp	pushfl	pushl %eax         #  eax has addr referenced	pushl %ebx         #  ebx has addr of cc	call cacheprof_log_Wr8	addl $8,%esp	popfl	popl %ebp	popl %edi	popl %esi	popl %edx	popl %ecx	ret	cacheprof_register2_me:        pushal	pushfl	movl $.Lcacheprof_magic_table,%eax	pushl %eax	call cacheprof_register2_module	popl %eax	popfl	popal	retcacheprof_finalise2_me:        pushal	pushfl	movl $.Lcacheprof_magic_table,%eax	pushl %eax	call cacheprof_finalise2_module	popl %eax	popfl	popal	ret		

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -