diff options
| author | Joey Jiao <joeyjiaojg@gmail.com> | 2021-03-18 16:39:15 +0800 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2021-03-19 15:49:02 +0100 |
| commit | dab435a79a291c51c8d0b5bbdcf3e097e7e60825 (patch) | |
| tree | c83e172188ff2fecdc8f473812b8691792c5bb23 /sys/linux/dev_video4linux_vim2m_mips64le.const | |
| parent | 2af9d324c1bc7d0486122df201cf67590564ae4c (diff) | |
pkg/cover: support opcode search for arm64
arm64 has different opcode and instruction bytes' order.
Example:
ffffffd0100a2a60: 9407e172 bl ffffffd01029b028 <__sanitizer_cov_trace_const_cmp4>
ffffffd0100a2a6c: 9407e09f bl ffffffd01029ace8 <__sanitizer_cov_trace_pc>
ffffffd01029c42c: 97fffa2f bl ffffffd01029ace8 <__sanitizer_cov_trace_pc>
Above ffffffd0100a2a60 is address of 0x72 in 9407e172, so position
of 0x94 needs to minus 3 to get address of 0x72.
Diffstat (limited to 'sys/linux/dev_video4linux_vim2m_mips64le.const')
0 files changed, 0 insertions, 0 deletions
