pushfpopf_s.s

来自「The Valgrind distribution has multiple t」· S 代码 · 共 42 行

S
42
字号
	.file	"twoparams.c"	.version	"01.01"gcc2_compiled.:.text	.align 4.globl fooble	.type	 fooble,@functionfooble:	pushl	%ebp	movl	%esp, %ebp	movl	8(%ebp), %eax		subl	12(%ebp), %eax	# flags are now undef if either operand is	# save possibly undef flags on stack	pushfl		movl	$0, %eax	addl	$0, %eax	# flags are now definitely defined	popfl	# resulting flag definedness depends on outcome of sub above	# should override that created by 0 + 0 above	# because Vex does an emulation-warning check on the popfl,	# an error should be reported for the popfl		# now use the condition codes to generate a value	# in a way which will cause undefinedness to get reported	# (a second time)	jz	labelz	movl	$22, %eax	jmp	theendlabelz:	movl	$33, %eaxtheend:		popl	%ebp	ret.Lfe1:	.size	 fooble,.Lfe1-fooble	.ident	"GCC: (GNU) 2.96 20000731 (Red Hat Linux 7.1 2.96-98)"

⌨️ 快捷键说明

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