Skip to content
Snippets Groups Projects
Select Git revision
  • b3cbd3875f10b739fe09427d2540e165b701871a
  • 2024ws default protected
  • 2023ws
3 results

grep-01.txt

Blame
  • Forked from Peter Gerwinski / Datenbanken und Datensicherheit
    Source project has a limited visibility.
    init-01.s 840 B
    	.file	"init-01.c"
    	.text
    	.section	.rodata.str1.1,"aMS",@progbits,1
    .LC0:
    	.string	"a = %d\n"
    .LC1:
    	.string	"b = %d\n"
    	.text
    	.globl	main
    	.type	main, @function
    main:
    .LFB11:
    	.cfi_startproc                 # #include <stdio.h>
    	subq	$8, %rsp               # 
    	.cfi_def_cfa_offset 16         # int main (void)
    	movl	$42, %esi              # {
    	leaq	.LC0(%rip), %rdi       #   int a = 42;
    	movl	$0, %eax               #   int b;
    	call	printf@PLT             #   b = 137;
    	movl	$137, %esi             #   printf ("a = %d\n", a);
    	leaq	.LC1(%rip), %rdi       #   printf ("b = %d\n", b);
    	movl	$0, %eax               #   return 0;
    	call	printf@PLT             # }
    	movl	$0, %eax
    	addq	$8, %rsp
    	.cfi_def_cfa_offset 8
    	ret
    	.cfi_endproc
    .LFE11:
    	.size	main, .-main
    	.ident	"GCC: (Debian 8.3.0-6) 8.3.0"
    	.section	.note.GNU-stack,"",@progbits