When objdump -S my_program, usually I can see the following indirect jmp instruction, which is typically used for switch/case jump table:
ffffffff802e04d3: ff 24 d5 38 2e 10 81 jmpq *-0x7eefd1c8(,%rdx,8)
How to understand the address -0x7eefd1c8
? It means the table's base address is 0xffffffff802e04d3 - 0x7eefd1c8
?
Also, how can I get -0x7eefd1c8
from ff 24 d5 38 2e 10 81
?