SYM File
Structure
- Programme header
- Section
- Symbol table
Programme header
- An executable or shared object file's program header table is an array of structures.
- each describing a segment or other information the system needs to prepare the program for execution.
- An object file segment contains one or more sections.
- Program headers are meaningful only for executable and shared object files.
- A file specifies its own program header size with the ELF header's e_phentsize and e_phnum members.
- typedef struct {
- Elf32_Word p_type;//tells what kind of segment this array element describes or how to interpret the array element's information.
- Elf32_Off p_offset;//gives the offset from the beginning of the file at which the first byte of the segment resides.
- Elf32_Addr p_vaddr;//gives the virtual address at which the first byte of the segment resides in memory.
- Elf32_Addr p_paddr; //On systems for which physical addressing is relevant, this member is reserved for the segment's physical address.
- Elf32_Word p_filesz; //This member gives the number of bytes in the file image of the segment; it may be zero.
- Elf32_Word p_memsz; //This member gives the number of bytes in the memory image of the segment; it may be zero.
- Elf32_Word p_flags; //This member gives flags relevant to the segment.
- Elf32_Word p_align; //This member gives the value to which the segments are aligned in memory and in the file.
- } Elf32_Phdr;
- p_type
- Name Value meaning
- PT_NULL 0 The array element is unused
- PT_LOAD 1 The array element specifies a loadable segment
- PT_DYNAMIC 2 The array element specifies dynamic linking information
- PT_INTERP 3 The array element specifies the location and size of a null- terminated path name to invoke as an interpreter
- PT_NOTE 4 The array element specifies the location and size of auxiliary information
- PT_SHLIB 5 This segment type is reserved, has unspecified semantics
- PT_PHDR 6 specifies the location and size of the program header table itself
- PT_LOPROC 0x70000000 reserved for processor-specific semantics
- PT_HIPROC 0x7fffffff
SYM File的更多相关文章
- Android dump .so 文件crash log
众所周知,在android系统上,有时候我们遇到so文件的crash仅仅能打log,可是非常多时候并不知道crash在什么地方,幸运的是crash后,一般能够产生一个.dmp文件. 我们能够依据这个文 ...
- vxworks固件分析
前言 vxworks 的固件分析流程 1.用binwalk查看固件基本信息并解压固件 2.获取固件相关信息, cpu架构,大小端 3.确定固件的加载地址 4.用IDA加载固件,并修复符号表 5. 分析 ...
- Schematic - "DesignEntry 30 ERROR Instance referencing symbol is out of date"
Schematic - "DesignEntry 30 ERROR Instance referencing symbol is out of date" Descript ...
- objcopy使用
objcopy - copy and translate object files:用于二进制文件的拷贝和翻译(转化) objcopy的man文件如下所示: objcopy [-F bfdname|- ...
- make file教程(转)
最近在学习Linux下的C编程,买了一本叫<Linux环境下的C编程指南>读到makefile就越看越迷糊,可能是我的理解能不行. 于是google到了以下这篇文章.通俗易懂.然后把它贴出 ...
- Keil AGDI Header File
#ifndef __AGDI__INCED___ #define __AGDI__INCED___ //---Revision History: --------------------------- ...
- windbg Symbol file path
SOS是一个调试器扩展,用于调试.NET应用程序.它提供了一组非常丰富的命令,这些命令使开发人员可以对CLR进行深入分析,并且有助于找出应用程序中各种复杂错误的原因. 由于SOS能够提供CLR内部 ...
- WARNING: Can not get binary dependencies for file...
环境: window7 64bit python 3.5 pyinstaller 3.2 用pyinstaller 将python文件打包成exe文件的过程中,出现了如下的错误 C:\Users\ca ...
- ERROR: Symbol file could not be found 寒江孤钓<<windows 内核安全编程>> 学习笔记
手动下载了Symbols,设置好了Symbols File Path,串口连接上了以后,出现ERROR: Symbol file could not be found, 并且会一直不停的出现windb ...
随机推荐
- 部署Qt应用时候报错0xc000007b
情况: 在开发环境可以运行,部署到其他电脑无法运行: 排错:百度.谷歌了很多方法不行,后来发现添加了Qt\5.11.0\mingw53_32\bin环境变量,程序执行正常,去掉就报错:猜测估计是dll ...
- Excel 导入时如何下载模板信息(Java)
大家知道,我们在实现 Excel 上传的时候,会让我们去下载个模板,然后实现导入功能.在此我在这里记录下来,以便后续的使用... 首先思考一个问题是 这个模板这么给前台,还有这个模板是这么来的,刚开始 ...
- UI规范案例-宝龙广场
- learn-ES6基础语法1-let&const
1.let ① 使用let声明的变量,所声明的变量只能在命令所在的代码块内有效. 同样在代码块内的a和c,c在代码块内就可以输出,a在代码块外就找不到了. ② 使用let命令声明的变量在域解析的时候不 ...
- .Net memory management Learning Notes
Managed Heaps In general it can be categorized into 1) SOH and 2) LOH. size lower than 85K will be ...
- pagerank算法在数学模型中的运用(有向无环图中节点排序)
一.模型介绍 pagerank算法主要是根据网页中被链接数用来给网页进行重要性排名. 1.1模型解释 模型核心: a. 如果多个网页指向某个网页A,则网页A的排名较高. b. 如果排名高A的网页指向某 ...
- 动态改变Spring定时任务执行频率
@Component@EnableSchedulingpublic class updateCronTask implements SchedulingConfigurer { public stat ...
- 20155219付颖卓《网络对抗》Exp6 信息搜集与漏洞扫描
基础问题回答 1.哪些组织负责DNS,IP的管理? 全球根服务器均由美国政府授权的ICANN统一管理,负责全球的域名根服务器.DNS和IP地址管理. 全球根域名服务器:绝大多数在欧洲和北美(全球13台 ...
- STM32的USART应用问题(不定时添加)
ST应用的问题:串口一直在用.不检测会导致一直中断要规避. 规避范例: void USART1_IRQHandler(void) //串口1中断服务程序 { u8 Res; u8 DataCount= ...
- inno安装客户端,写注册表url调用客户端
[Registry] Root: HKCR; SubKey: xxx; ValueData: "xxx"; ValueType: string; Flags: CreateValu ...