mirror of
https://github.com/dynup/kpatch
synced 2025-01-06 21:19:27 +00:00
767d9669bd
readelf is more standard, using readelf insteaded we should solve there issues: First, using "readelf -s", the symbol name would truncated by 25 chars, to solve this issue, add option "--wide". Second, the size may be mixed of decimal and hex, we get the size by "%s", and use strtoul(size, NULL, 0) to convert the size. Third, the symbol type is SHN_UNDE, the Ndx display "UND", so changed to compare with "UND". Signed-off-by: chenzefeng <chenzefeng2@huawei.com> |
||
---|---|---|
.. | ||
gcc-plugins | ||
insn | ||
create-diff-object.c | ||
create-klp-module.c | ||
create-kpatch-module.c | ||
kpatch-build | ||
kpatch-elf.c | ||
kpatch-elf.h | ||
kpatch-gcc | ||
kpatch-intermediate.h | ||
kpatch.h | ||
list.h | ||
log.h | ||
lookup.c | ||
lookup.h | ||
Makefile |