mirror of https://github.com/dynup/kpatch
ecc5141676
We need a disassembler library to help with converting data section relocation references to their corresponding symbols. Unfortunately, the only library I could find that's widely available in enterprise Linux distros was libopcodes, which is part of binutils. But its interface is far too clunky for our needs. The best alternative I can find is to just copy the kernel's disassembler library code from arch/x86/lib. |
||
---|---|---|
.. | ||
inat.h | ||
inat_types.h | ||
insn.h |