binutils internal struct

本文介绍了 ELF (Executable and Linkable Format) 中的内部符号结构及其使用方法。涉及到 dl_iterate_phdr 和 REPAIR_RAX 的内联钩子等概念。
lf32-target.h:787:3: note: in expansion of macro 'elf_backend_allow_non_load_phdr' 787 | elf_backend_allow_non_load_phdr, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:206:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' {aka 'void * (*)(struct bfd *)'} to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(struct bfd *, void *, long unsigned int)'} [-Wcast-function-type] 206 | ((asymbol * (*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ bfd.h:7486:3: note: in expansion of macro 'bfd_elf32_bfd_make_debug_symbol' 7486 | NAME##_bfd_make_debug_symbol, \ | ^~~~ elf32-target.h:972:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 972 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:206:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' {aka 'void * (*)(struct bfd *)'} to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(struct bfd *, void *, long unsigned int)'} [-Wcast-function-type] 206 | ((asymbol * (*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^ bfd.h:7486:3: note: in expansion of macro 'bfd_elf32_bfd_make_debug_symbol' 7486 | NAME##_bfd_make_debug_symbol, \ | ^~~~ elf32-target.h:1073:3: note: in expansion of macro 'BFD_JUMP_TABLE_SYMBOLS' 1073 | BFD_JUMP_TABLE_SYMBOLS (bfd_elf32), | ^~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:490:4: warning: cast between incompatible function types from 'bfd_boolean (*)(bfd *)' {aka 'int (*)(struct bfd *)'} to 'bfd_boolean (*)(bfd *, const Elf_Internal_Phdr *, unsigned int)' {aka 'int (*)(struct bfd *, const struct elf_internal_phdr *, unsigned int)'} [-Wcast-function-type] 490 | ((bfd_boolean (*) (bfd *, const Elf_Internal_Phdr *, unsigned)) bfd_false) | ^ elf32-target.h:787:3: note: in expansion of macro 'elf_backend_allow_non_load_phdr' 787 | elf_backend_allow_non_load_phdr, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ elf32-target.h:206:4: warning: cast between incompatible function types from 'void * (*)(bfd *)' {aka 'void * (*)(struct bfd *)'} to 'asymbol * (*)(bfd *, void *, long unsigned int)' {aka 'struct bfd_symbol * (*)(struct bfd *, void *, long unsigned int)'} [-Wcast-function-type] 206 | ((asymbol * (*) (bfd *, void *, unsigned long)) bfd_nullvoidptr) | ^
09-03
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值