LoginSignup
0
0

More than 1 year has passed since last update.

Elf32_Symの説明

Posted at
elf32.h
typedef struct {
        Elf32_Word      st_name;
        Elf32_Addr      st_value;
        Elf32_Word      st_size;
        unsigned char   st_info;
        unsigned char   st_other;
        Elf32_Half      st_shndx;
} Elf32_Sym;
  • st_nameはstrtab(string table) sectionの先頭からのoffset (null終端されてる
  • st_infoは、symbolがobject(変数)か、関数か、等の情報と、そのスコープがファイルローカルなのか、グローバルなのかの情報が格納されている
  • st_shndxのshndxはsection header table indexの略称
  • st_valueはsegmentの先頭からのoffset
  • st_sizeはシンボルの実態のサイズ
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0