omega-mv
Omega: a language for verified programs, semantic identity and machine realization. Seed-born work and existing implementations have distinct provenance.
Brought by drakestapleton
omega-mv / evidence / OMC-EFF-2 / null-control / disasm-c / branch.O2.s
| 1 | |
| 2 | /tmp/omc-eff-2-aa/work/obj/branch.O2.o: file format elf64-littleaarch64 |
| 3 | |
| 4 | |
| 5 | Disassembly of section .text.startup: |
| 6 | |
| 7 | 0000000000000000 <main>: |
| 8 | 0: d10183ff sub sp, sp, #0x60 |
| 9 | 4: 52800020 mov w0, #0x1 // #1 |
| 10 | 8: 90000002 adrp x2, 0 <__stack_chk_guard> |
| 11 | 8: R_AARCH64_ADR_GOT_PAGE __stack_chk_guard |
| 12 | c: f9400042 ldr x2, [x2] |
| 13 | c: R_AARCH64_LD64_GOT_LO12_NC __stack_chk_guard |
| 14 | 10: a9027bfd stp x29, x30, [sp, #32] |
| 15 | 14: 910083fd add x29, sp, #0x20 |
| 16 | 18: a90353f3 stp x19, x20, [sp, #48] |
| 17 | 1c: d2800014 mov x20, #0x0 // #0 |
| 18 | 20: aa1403f3 mov x19, x20 |
| 19 | 24: a9045bf5 stp x21, x22, [sp, #64] |
| 20 | 28: 910023f5 add x21, sp, #0x8 |
| 21 | 2c: aa1503e1 mov x1, x21 |
| 22 | 30: f9002bf7 str x23, [sp, #80] |
| 23 | 34: f9400043 ldr x3, [x2] |
| 24 | 38: f9000fe3 str x3, [sp, #24] |
| 25 | 3c: d2800003 mov x3, #0x0 // #0 |
| 26 | 40: 94000000 bl 0 <clock_gettime> |
| 27 | 40: R_AARCH64_CALL26 clock_gettime |
| 28 | 44: a940dff6 ldp x22, x23, [sp, #8] |
| 29 | 48: d2884805 mov x5, #0x4240 // #16960 |
| 30 | 4c: d2800024 mov x4, #0x1 // #1 |
| 31 | 50: f2a001e5 movk x5, #0xf, lsl #16 |
| 32 | 54: d503201f nop |
| 33 | 58: 91000484 add x4, x4, #0x1 |
| 34 | 5c: d2800002 mov x2, #0x0 // #0 |
| 35 | 60: aa0403e0 mov x0, x4 |
| 36 | 64: d503201f nop |
| 37 | 68: f240001f tst x0, #0x1 |
| 38 | 6c: d341fc03 lsr x3, x0, #1 |
| 39 | 70: 8b000400 add x0, x0, x0, lsl #1 |
| 40 | 74: 91000442 add x2, x2, #0x1 |
| 41 | 78: 9a800460 csinc x0, x3, x0, eq // eq = none |
| 42 | 7c: f100041f cmp x0, #0x1 |
| 43 | 80: 54ffff41 b.ne 68 <main+0x68> // b.any |
| 44 | 84: eb02027f cmp x19, x2 |
| 45 | 88: 8b020294 add x20, x20, x2 |
| 46 | 8c: 9a822273 csel x19, x19, x2, cs // cs = hs, nlast |
| 47 | 90: eb05009f cmp x4, x5 |
| 48 | 94: 54fffe21 b.ne 58 <main+0x58> // b.any |
| 49 | 98: aa1503e1 mov x1, x21 |
| 50 | 9c: 94000000 bl 0 <clock_gettime> |
| 51 | 9c: R_AARCH64_CALL26 clock_gettime |
| 52 | a0: a9408fe1 ldp x1, x3, [sp, #8] |
| 53 | a4: d2994002 mov x2, #0xca00 // #51712 |
| 54 | a8: 90000000 adrp x0, 0 <stderr> |
| 55 | a8: R_AARCH64_ADR_GOT_PAGE stderr |
| 56 | ac: f9400000 ldr x0, [x0] |
| 57 | ac: R_AARCH64_LD64_GOT_LO12_NC stderr |
| 58 | b0: f2a77342 movk x2, #0x3b9a, lsl #16 |
| 59 | b4: 90000015 adrp x21, 0 <main> |
| 60 | b4: R_AARCH64_ADR_PREL_PG_HI21 .rodata.str1.8 |
| 61 | b8: 910002b5 add x21, x21, #0x0 |
| 62 | b8: R_AARCH64_ADD_ABS_LO12_NC .rodata.str1.8 |
| 63 | bc: 9b027c21 mul x1, x1, x2 |
| 64 | c0: f9400000 ldr x0, [x0] |
| 65 | c4: 9b028ed6 msub x22, x22, x2, x3 |
| 66 | c8: cb170023 sub x3, x1, x23 |
| 67 | cc: aa1503e2 mov x2, x21 |
| 68 | d0: 8b0302c3 add x3, x22, x3 |
| 69 | d4: 52800041 mov w1, #0x2 // #2 |
| 70 | d8: 94000000 bl 0 <__fprintf_chk> |
| 71 | d8: R_AARCH64_CALL26 __fprintf_chk |
| 72 | dc: aa1403e2 mov x2, x20 |
| 73 | e0: aa1503e1 mov x1, x21 |
| 74 | e4: 52800040 mov w0, #0x2 // #2 |
| 75 | e8: 94000000 bl 0 <__printf_chk> |
| 76 | e8: R_AARCH64_CALL26 __printf_chk |
| 77 | ec: aa1303e2 mov x2, x19 |
| 78 | f0: aa1503e1 mov x1, x21 |
| 79 | f4: 52800040 mov w0, #0x2 // #2 |
| 80 | f8: 94000000 bl 0 <__printf_chk> |
| 81 | f8: R_AARCH64_CALL26 __printf_chk |
| 82 | fc: 90000000 adrp x0, 0 <__stack_chk_guard> |
| 83 | fc: R_AARCH64_ADR_GOT_PAGE __stack_chk_guard |
| 84 | 100: f9400000 ldr x0, [x0] |
| 85 | 100: R_AARCH64_LD64_GOT_LO12_NC __stack_chk_guard |
| 86 | 104: f9400fe2 ldr x2, [sp, #24] |
| 87 | 108: f9400001 ldr x1, [x0] |
| 88 | 10c: eb010042 subs x2, x2, x1 |
| 89 | 110: d2800001 mov x1, #0x0 // #0 |
| 90 | 114: 54000101 b.ne 134 <main+0x134> // b.any |
| 91 | 118: a9427bfd ldp x29, x30, [sp, #32] |
| 92 | 11c: 52800000 mov w0, #0x0 // #0 |
| 93 | 120: a94353f3 ldp x19, x20, [sp, #48] |
| 94 | 124: a9445bf5 ldp x21, x22, [sp, #64] |
| 95 | 128: f9402bf7 ldr x23, [sp, #80] |
| 96 | 12c: 910183ff add sp, sp, #0x60 |
| 97 | 130: d65f03c0 ret |
| 98 | 134: 94000000 bl 0 <__stack_chk_fail> |
| 99 | 134: R_AARCH64_CALL26 __stack_chk_fail |