摘要: # linux注册支持运行的文件类型 ``` struct linux_binfmt { struct list_head lh; struct module *module; int (*load_binary)(struct linux_binprm *); int (*load_shlib)( 阅读全文
posted @ 2022-05-20 23:29 怎么可以吃突突 阅读(2457) 评论(0) 推荐(0) 编辑
摘要: x86架构的重定位操作需要修改代码段,arm架构重定位待修改的数据位于数据段(.got表),不需要修改代码段。 .plt节区与.got表 外部函数引用重定位 通过readelf查看elf文件的所有节区section arm架构使用.plt节区存放外部函数调用的PLT条目,通过.plt节区索引到.go 阅读全文
posted @ 2022-05-20 01:50 怎么可以吃突突 阅读(2171) 评论(0) 推荐(0) 编辑