ICode9

精准搜索请尝试: 精确搜索
  • 浅谈 current 宏2020-12-03 20:35:07

    其实只要接触过 Linux 内核源码的人都应该见过 current 这个宏,使用它获取当前进程的 task_struct 结构(当然这个不是绝对的) 现在就来看看 current 真正的样子 /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ASM_X86_CURRENT_H #define _ASM_X86_CURRENT_H #include <linux/comp

  • 从可执行文件中删除.reloc节区2020-03-08 16:04:34

    删除.reloc节区头           删除

  • error: unsupported reloc 432019-06-21 19:54:28

    在Ubuntu 16.04.5 LTS编译android 5.1报错 [19:17:13.062]libnativehelper/JniInvocation.cpp:165: error: unsupported reloc 43[19:17:13.062]libnativehelper/JniInvocation.cpp:165: error: unsupported reloc 43[19:17:13.062]libnativehelper/JniInvocation.cpp:165: error:

  • UEFI Relocation 原理2019-05-09 11:50:46

    本文主要介绍的是UEFI Relocation的原理,以及主要的代码流程。 首先:为什么要重定位? UEFI和传统的BIOS不一样,运行的特点也不一样,在编译阶段,每个模块都被编译成.efi的文件,然后将多个efi文件又生成Fv,最后又生成.fd文件,以这种方式存储在BIOS芯片中。在二进制的代码段中,每条指令的地

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有