fork(1) download
  1. .file "test_jtable.c"
  2. .intel_syntax noprefix
  3. .section .rdata,"dr"
  4. LC0:
  5. .ascii "Four\0"
  6. .text
  7. .p2align 2,,3
  8. .def _print4; .scl 3; .type 32; .endef
  9. _print4:
  10. LFB11:
  11. .cfi_startproc
  12. sub esp, 28
  13. .cfi_def_cfa_offset 32
  14. mov DWORD PTR [esp], OFFSET FLAT:LC0
  15. call _printf
  16. add esp, 28
  17. .cfi_def_cfa_offset 4
  18. ret
  19. .cfi_endproc
  20. LFE11:
  21. .section .rdata,"dr"
  22. LC1:
  23. .ascii "Three\0"
  24. .text
  25. .p2align 2,,3
  26. .def _print3; .scl 3; .type 32; .endef
  27. _print3:
  28. LFB10:
  29. .cfi_startproc
  30. sub esp, 28
  31. .cfi_def_cfa_offset 32
  32. mov DWORD PTR [esp], OFFSET FLAT:LC1
  33. call _printf
  34. add esp, 28
  35. .cfi_def_cfa_offset 4
  36. ret
  37. .cfi_endproc
  38. LFE10:
  39. .section .rdata,"dr"
  40. LC2:
  41. .ascii "Two\0"
  42. .text
  43. .p2align 2,,3
  44. .def _print2; .scl 3; .type 32; .endef
  45. _print2:
  46. LFB9:
  47. .cfi_startproc
  48. sub esp, 28
  49. .cfi_def_cfa_offset 32
  50. mov DWORD PTR [esp], OFFSET FLAT:LC2
  51. call _printf
  52. add esp, 28
  53. .cfi_def_cfa_offset 4
  54. ret
  55. .cfi_endproc
  56. LFE9:
  57. .section .rdata,"dr"
  58. LC3:
  59. .ascii "One\0"
  60. .text
  61. .p2align 2,,3
  62. .def _print1; .scl 3; .type 32; .endef
  63. _print1:
  64. LFB8:
  65. .cfi_startproc
  66. sub esp, 28
  67. .cfi_def_cfa_offset 32
  68. mov DWORD PTR [esp], OFFSET FLAT:LC3
  69. call _printf
  70. add esp, 28
  71. .cfi_def_cfa_offset 4
  72. ret
  73. .cfi_endproc
  74. LFE8:
  75. .section .rdata,"dr"
  76. LC4:
  77. .ascii "Zero\0"
  78. .text
  79. .p2align 2,,3
  80. .def _print0; .scl 3; .type 32; .endef
  81. _print0:
  82. LFB7:
  83. .cfi_startproc
  84. sub esp, 28
  85. .cfi_def_cfa_offset 32
  86. mov DWORD PTR [esp], OFFSET FLAT:LC4
  87. call _printf
  88. add esp, 28
  89. .cfi_def_cfa_offset 4
  90. ret
  91. .cfi_endproc
  92. LFE7:
  93. .def ___main; .scl 2; .type 32; .endef
  94. .section .rdata,"dr"
  95. LC5:
  96. .ascii "%u\0"
  97. .section .text.startup,"x"
  98. .p2align 2,,3
  99. .globl _main
  100. .def _main; .scl 2; .type 32; .endef
  101. _main:
  102. LFB12:
  103. .cfi_startproc
  104. push ebp
  105. .cfi_def_cfa_offset 8
  106. .cfi_offset 5, -8
  107. mov ebp, esp
  108. .cfi_def_cfa_register 5
  109. and esp, -16
  110. sub esp, 32
  111. call ___main
  112. lea eax, [esp+28]
  113. mov DWORD PTR [esp+4], eax
  114. mov DWORD PTR [esp], OFFSET FLAT:LC5
  115. call _scanf
  116. mov eax, DWORD PTR [esp+28]
  117. call [DWORD PTR _jt.1677[0+eax*4]]
  118. xor eax, eax
  119. leave
  120. .cfi_restore 5
  121. .cfi_def_cfa 4, 4
  122. ret
  123. .cfi_endproc
  124. LFE12:
  125. .section .rdata,"dr"
  126. .align 4
  127. _jt.1677:
  128. .long _print0
  129. .long _print1
  130. .long _print2
  131. .long _print3
  132. .long _print4
  133. .def _printf; .scl 2; .type 32; .endef
  134. .def _scanf; .scl 2; .type 32; .endef
Not running #stdin #stdout 0s 0KB
stdin
Standard input is empty
stdout
Standard output is empty