program stringclasses 10
values | disassembly stringlengths 6.08k 6.52k | flags stringclasses 6
values |
|---|---|---|
#include <stdio.h>
int main() {
int a = 5;
int b = 10;
printf("Sum: %d\n", a + b);
return 0;
} |
programs/sample_program_1_O0: file format elf64-x86-64
Disassembly of section .init:
0000000000001000 <_init>:
1000: f3 0f 1e fa endbr64
1004: 48 83 ec 08 sub $0x8,%rsp
1008: 48 8b 05 d9 2f 00 00 mov 0x2fd9(%rip),%rax # 3fe8 <__gmon_start__@Base>
100f: 48 85 c0... | -O0 |
#include <stdio.h>
int main() {
int a = 5;
int b = 10;
printf("Sum: %d\n", a + b);
return 0;
} |
programs/sample_program_1_O1: file format elf64-x86-64
Disassembly of section .init:
0000000000001000 <_init>:
1000: f3 0f 1e fa endbr64
1004: 48 83 ec 08 sub $0x8,%rsp
1008: 48 8b 05 d9 2f 00 00 mov 0x2fd9(%rip),%rax # 3fe8 <__gmon_start__@Base>
100f: 48 85 c0... | -O1 |
#include <stdio.h>
int main() {
int a = 5;
int b = 10;
printf("Sum: %d\n", a + b);
return 0;
} |
programs/sample_program_1_O2: file format elf64-x86-64
Disassembly of section .init:
0000000000001000 <_init>:
1000: f3 0f 1e fa endbr64
1004: 48 83 ec 08 sub $0x8,%rsp
1008: 48 8b 05 d9 2f 00 00 mov 0x2fd9(%rip),%rax # 3fe8 <__gmon_start__@Base>
100f: 48 85 c0... | -O2 |
#include <stdio.h>
int main() {
int a = 5;
int b = 10;
printf("Sum: %d\n", a + b);
return 0;
} |
programs/sample_program_1_O3: file format elf64-x86-64
Disassembly of section .init:
0000000000001000 <_init>:
1000: f3 0f 1e fa endbr64
1004: 48 83 ec 08 sub $0x8,%rsp
1008: 48 8b 05 d9 2f 00 00 mov 0x2fd9(%rip),%rax # 3fe8 <__gmon_start__@Base>
100f: 48 85 c0... | -O3 |
#include <stdio.h>
int main() {
int a = 5;
int b = 10;
printf("Sum: %d\n", a + b);
return 0;
} |
programs/sample_program_1_Os: file format elf64-x86-64
Disassembly of section .init:
0000000000001000 <_init>:
1000: f3 0f 1e fa endbr64
1004: 48 83 ec 08 sub $0x8,%rsp
1008: 48 8b 05 d9 2f 00 00 mov 0x2fd9(%rip),%rax # 3fe8 <__gmon_start__@Base>
100f: 48 85 c0... | -Os |
#include <stdio.h>
int main() {
int a = 5;
int b = 10;
printf("Sum: %d\n", a + b);
return 0;
} |
programs/sample_program_1_Ofast: file format elf64-x86-64
Disassembly of section .init:
0000000000001000 <_init>:
1000: f3 0f 1e fa endbr64
1004: 48 83 ec 08 sub $0x8,%rsp
1008: 48 8b 05 d9 2f 00 00 mov 0x2fd9(%rip),%rax # 3fe8 <__gmon_start__@Base>
100f: 48 85... | -Ofast |
#include <stdio.h>
int main() {
int a = 5, b = 10;
printf("Less than: %d\n", a < b);
return 0;
} |
programs/sample_program_10_O0: file format elf64-x86-64
Disassembly of section .init:
0000000000001000 <_init>:
1000: f3 0f 1e fa endbr64
1004: 48 83 ec 08 sub $0x8,%rsp
1008: 48 8b 05 d9 2f 00 00 mov 0x2fd9(%rip),%rax # 3fe8 <__gmon_start__@Base>
100f: 48 85 c... | -O0 |
#include <stdio.h>
int main() {
int a = 5, b = 10;
printf("Less than: %d\n", a < b);
return 0;
} |
programs/sample_program_10_O1: file format elf64-x86-64
Disassembly of section .init:
0000000000001000 <_init>:
1000: f3 0f 1e fa endbr64
1004: 48 83 ec 08 sub $0x8,%rsp
1008: 48 8b 05 d9 2f 00 00 mov 0x2fd9(%rip),%rax # 3fe8 <__gmon_start__@Base>
100f: 48 85 c... | -O1 |
#include <stdio.h>
int main() {
int a = 5, b = 10;
printf("Less than: %d\n", a < b);
return 0;
} |
programs/sample_program_10_O2: file format elf64-x86-64
Disassembly of section .init:
0000000000001000 <_init>:
1000: f3 0f 1e fa endbr64
1004: 48 83 ec 08 sub $0x8,%rsp
1008: 48 8b 05 d9 2f 00 00 mov 0x2fd9(%rip),%rax # 3fe8 <__gmon_start__@Base>
100f: 48 85 c... | -O2 |
#include <stdio.h>
int main() {
int a = 5, b = 10;
printf("Less than: %d\n", a < b);
return 0;
} |
programs/sample_program_10_O3: file format elf64-x86-64
Disassembly of section .init:
0000000000001000 <_init>:
1000: f3 0f 1e fa endbr64
1004: 48 83 ec 08 sub $0x8,%rsp
1008: 48 8b 05 d9 2f 00 00 mov 0x2fd9(%rip),%rax # 3fe8 <__gmon_start__@Base>
100f: 48 85 c... | -O3 |
#include <stdio.h>
int main() {
int a = 5, b = 10;
printf("Less than: %d\n", a < b);
return 0;
} |
programs/sample_program_10_Os: file format elf64-x86-64
Disassembly of section .init:
0000000000001000 <_init>:
1000: f3 0f 1e fa endbr64
1004: 48 83 ec 08 sub $0x8,%rsp
1008: 48 8b 05 d9 2f 00 00 mov 0x2fd9(%rip),%rax # 3fe8 <__gmon_start__@Base>
100f: 48 85 c... | -Os |
#include <stdio.h>
int main() {
int a = 5, b = 10;
printf("Less than: %d\n", a < b);
return 0;
} |
programs/sample_program_10_Ofast: file format elf64-x86-64
Disassembly of section .init:
0000000000001000 <_init>:
1000: f3 0f 1e fa endbr64
1004: 48 83 ec 08 sub $0x8,%rsp
1008: 48 8b 05 d9 2f 00 00 mov 0x2fd9(%rip),%rax # 3fe8 <__gmon_start__@Base>
100f: 48 8... | -Ofast |
#include <stdio.h>
int main() {
int a = 10;
int b = 5;
printf("Difference: %d\n", a - b);
return 0;
} |
programs/sample_program_2_O0: file format elf64-x86-64
Disassembly of section .init:
0000000000001000 <_init>:
1000: f3 0f 1e fa endbr64
1004: 48 83 ec 08 sub $0x8,%rsp
1008: 48 8b 05 d9 2f 00 00 mov 0x2fd9(%rip),%rax # 3fe8 <__gmon_start__@Base>
100f: 48 85 c0... | -O0 |
#include <stdio.h>
int main() {
int a = 10;
int b = 5;
printf("Difference: %d\n", a - b);
return 0;
} |
programs/sample_program_2_O1: file format elf64-x86-64
Disassembly of section .init:
0000000000001000 <_init>:
1000: f3 0f 1e fa endbr64
1004: 48 83 ec 08 sub $0x8,%rsp
1008: 48 8b 05 d9 2f 00 00 mov 0x2fd9(%rip),%rax # 3fe8 <__gmon_start__@Base>
100f: 48 85 c0... | -O1 |
#include <stdio.h>
int main() {
int a = 10;
int b = 5;
printf("Difference: %d\n", a - b);
return 0;
} |
programs/sample_program_2_O2: file format elf64-x86-64
Disassembly of section .init:
0000000000001000 <_init>:
1000: f3 0f 1e fa endbr64
1004: 48 83 ec 08 sub $0x8,%rsp
1008: 48 8b 05 d9 2f 00 00 mov 0x2fd9(%rip),%rax # 3fe8 <__gmon_start__@Base>
100f: 48 85 c0... | -O2 |
#include <stdio.h>
int main() {
int a = 10;
int b = 5;
printf("Difference: %d\n", a - b);
return 0;
} |
programs/sample_program_2_O3: file format elf64-x86-64
Disassembly of section .init:
0000000000001000 <_init>:
1000: f3 0f 1e fa endbr64
1004: 48 83 ec 08 sub $0x8,%rsp
1008: 48 8b 05 d9 2f 00 00 mov 0x2fd9(%rip),%rax # 3fe8 <__gmon_start__@Base>
100f: 48 85 c0... | -O3 |
#include <stdio.h>
int main() {
int a = 10;
int b = 5;
printf("Difference: %d\n", a - b);
return 0;
} |
programs/sample_program_2_Os: file format elf64-x86-64
Disassembly of section .init:
0000000000001000 <_init>:
1000: f3 0f 1e fa endbr64
1004: 48 83 ec 08 sub $0x8,%rsp
1008: 48 8b 05 d9 2f 00 00 mov 0x2fd9(%rip),%rax # 3fe8 <__gmon_start__@Base>
100f: 48 85 c0... | -Os |
#include <stdio.h>
int main() {
int a = 10;
int b = 5;
printf("Difference: %d\n", a - b);
return 0;
} |
programs/sample_program_2_Ofast: file format elf64-x86-64
Disassembly of section .init:
0000000000001000 <_init>:
1000: f3 0f 1e fa endbr64
1004: 48 83 ec 08 sub $0x8,%rsp
1008: 48 8b 05 d9 2f 00 00 mov 0x2fd9(%rip),%rax # 3fe8 <__gmon_start__@Base>
100f: 48 85... | -Ofast |
#include <stdio.h>
int main() {
int a = 5;
int b = 10;
printf("Product: %d\n", a * b);
return 0;
} |
programs/sample_program_3_O0: file format elf64-x86-64
Disassembly of section .init:
0000000000001000 <_init>:
1000: f3 0f 1e fa endbr64
1004: 48 83 ec 08 sub $0x8,%rsp
1008: 48 8b 05 d9 2f 00 00 mov 0x2fd9(%rip),%rax # 3fe8 <__gmon_start__@Base>
100f: 48 85 c0... | -O0 |
#include <stdio.h>
int main() {
int a = 5;
int b = 10;
printf("Product: %d\n", a * b);
return 0;
} |
programs/sample_program_3_O1: file format elf64-x86-64
Disassembly of section .init:
0000000000001000 <_init>:
1000: f3 0f 1e fa endbr64
1004: 48 83 ec 08 sub $0x8,%rsp
1008: 48 8b 05 d9 2f 00 00 mov 0x2fd9(%rip),%rax # 3fe8 <__gmon_start__@Base>
100f: 48 85 c0... | -O1 |
#include <stdio.h>
int main() {
int a = 5;
int b = 10;
printf("Product: %d\n", a * b);
return 0;
} |
programs/sample_program_3_O2: file format elf64-x86-64
Disassembly of section .init:
0000000000001000 <_init>:
1000: f3 0f 1e fa endbr64
1004: 48 83 ec 08 sub $0x8,%rsp
1008: 48 8b 05 d9 2f 00 00 mov 0x2fd9(%rip),%rax # 3fe8 <__gmon_start__@Base>
100f: 48 85 c0... | -O2 |
#include <stdio.h>
int main() {
int a = 5;
int b = 10;
printf("Product: %d\n", a * b);
return 0;
} |
programs/sample_program_3_O3: file format elf64-x86-64
Disassembly of section .init:
0000000000001000 <_init>:
1000: f3 0f 1e fa endbr64
1004: 48 83 ec 08 sub $0x8,%rsp
1008: 48 8b 05 d9 2f 00 00 mov 0x2fd9(%rip),%rax # 3fe8 <__gmon_start__@Base>
100f: 48 85 c0... | -O3 |
#include <stdio.h>
int main() {
int a = 5;
int b = 10;
printf("Product: %d\n", a * b);
return 0;
} |
programs/sample_program_3_Os: file format elf64-x86-64
Disassembly of section .init:
0000000000001000 <_init>:
1000: f3 0f 1e fa endbr64
1004: 48 83 ec 08 sub $0x8,%rsp
1008: 48 8b 05 d9 2f 00 00 mov 0x2fd9(%rip),%rax # 3fe8 <__gmon_start__@Base>
100f: 48 85 c0... | -Os |
#include <stdio.h>
int main() {
int a = 5;
int b = 10;
printf("Product: %d\n", a * b);
return 0;
} |
programs/sample_program_3_Ofast: file format elf64-x86-64
Disassembly of section .init:
0000000000001000 <_init>:
1000: f3 0f 1e fa endbr64
1004: 48 83 ec 08 sub $0x8,%rsp
1008: 48 8b 05 d9 2f 00 00 mov 0x2fd9(%rip),%rax # 3fe8 <__gmon_start__@Base>
100f: 48 85... | -Ofast |
#include <stdio.h>
int main() {
int a = 10;
int b = 5;
printf("Division: %d\n", a / b);
return 0;
} |
programs/sample_program_4_O0: file format elf64-x86-64
Disassembly of section .init:
0000000000001000 <_init>:
1000: f3 0f 1e fa endbr64
1004: 48 83 ec 08 sub $0x8,%rsp
1008: 48 8b 05 d9 2f 00 00 mov 0x2fd9(%rip),%rax # 3fe8 <__gmon_start__@Base>
100f: 48 85 c0... | -O0 |
#include <stdio.h>
int main() {
int a = 10;
int b = 5;
printf("Division: %d\n", a / b);
return 0;
} |
programs/sample_program_4_O1: file format elf64-x86-64
Disassembly of section .init:
0000000000001000 <_init>:
1000: f3 0f 1e fa endbr64
1004: 48 83 ec 08 sub $0x8,%rsp
1008: 48 8b 05 d9 2f 00 00 mov 0x2fd9(%rip),%rax # 3fe8 <__gmon_start__@Base>
100f: 48 85 c0... | -O1 |
#include <stdio.h>
int main() {
int a = 10;
int b = 5;
printf("Division: %d\n", a / b);
return 0;
} |
programs/sample_program_4_O2: file format elf64-x86-64
Disassembly of section .init:
0000000000001000 <_init>:
1000: f3 0f 1e fa endbr64
1004: 48 83 ec 08 sub $0x8,%rsp
1008: 48 8b 05 d9 2f 00 00 mov 0x2fd9(%rip),%rax # 3fe8 <__gmon_start__@Base>
100f: 48 85 c0... | -O2 |
#include <stdio.h>
int main() {
int a = 10;
int b = 5;
printf("Division: %d\n", a / b);
return 0;
} |
programs/sample_program_4_O3: file format elf64-x86-64
Disassembly of section .init:
0000000000001000 <_init>:
1000: f3 0f 1e fa endbr64
1004: 48 83 ec 08 sub $0x8,%rsp
1008: 48 8b 05 d9 2f 00 00 mov 0x2fd9(%rip),%rax # 3fe8 <__gmon_start__@Base>
100f: 48 85 c0... | -O3 |
#include <stdio.h>
int main() {
int a = 10;
int b = 5;
printf("Division: %d\n", a / b);
return 0;
} |
programs/sample_program_4_Os: file format elf64-x86-64
Disassembly of section .init:
0000000000001000 <_init>:
1000: f3 0f 1e fa endbr64
1004: 48 83 ec 08 sub $0x8,%rsp
1008: 48 8b 05 d9 2f 00 00 mov 0x2fd9(%rip),%rax # 3fe8 <__gmon_start__@Base>
100f: 48 85 c0... | -Os |
End of preview. Expand in Data Studio
README.md exists but content is empty.
- Downloads last month
- 6