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

📄 ntstack.asm

📁 gcc-2.95.3 Linux下最常用的C编译器
💻 ASM
字号:
# Allocate stack for NT, inserting stack probes every 4k pages	.file	"ntstack.asm"#	Setup MS Structured-Exception-Handling	.pdata	.align 2	.ualong ..__allocate_stack,__allocate_stack.e,0,0,__allocate_stack.b#	Switch to the relocation section	.reldata	.globl __allocate_stack	.globl ..__allocate_stack__allocate_stack:	.ualong ..__allocate_stack,.toc	.text	.align 2..__allocate_stack:	.function	..__allocate_stack__allocate_stack.b:	addi	3,3,15			# round up to 16 byte alignment	lwz	0,0(1)			# old stack link	rlwinm	3,3,0,0,28	srawi.	4,3,12			# get # of pages to check	neg	3,3			# negate so we can use stwux	bgt-	0,.Lcheck	stwux	0,1,3			# small request, just decrement and return	blr.Lcheck:	mtctr	4			# number of pages to check	mr	5,1			# tmp pointer.Lloop:	lwzu	6,-4096(5)		# touch the page	bdnz+	.Lloop			# and loop back	stwux	0,1,3			# update stack pointer	blr__allocate_stack.e:FE_MOT_RESVD..__allocate_stack:

⌨️ 快捷键说明

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