apic.d 475 B

123456789101112131415161718
  1. #name: 32-bit relocs w/ index but no base
  2. #ld: --defsym APIC_BASE=0xfee00000
  3. #objdump: -dw
  4. .*: +file format .*
  5. Disassembly of section \.text:
  6. #...
  7. [0-9a-f]+[ ]+<apic_read>:
  8. [ ]*[0-9a-f]+:[ ]+67 8b 04 bd 00 00 e0 fe[ ]+mov[ ]+(0xfee|-0x12)00000\(,%edi,4\),%eax
  9. [ ]*[0-9a-f]+:[ ]+c3[ ]+retq?[ ]*
  10. #...
  11. [0-9a-f]+[ ]+<apic_write>:
  12. [ ]*[0-9a-f]+:[ ]+67 89 34 bd 00 00 e0 fe[ ]+mov[ ]+%esi,(0xfee|-0x12)00000\(,%edi,4\)
  13. [ ]*[0-9a-f]+:[ ]+c3[ ]+retq?[ ]*
  14. #pass