Linux/Debugging & Testing

    [objdump] symbol table column 의미

    COLUMN ONE: the symbol's value COLUMN TWO: a set of characters and spaces indicating the flag bits that are set on the symbol. There are seven groupings which are listed below: group one: (l,g,,!) local, global, neither, both. group two: (w,) weak or strong symbol. group three: (C,) symbol denotes a constructor or an ordinary symbol. group four: (W,) symbol is warning or normal symbol. group fiv..

    [ELF] Symbol Resolution

    [ELF] Symbol Resolution

    ELF 란 용어를 많이 들어보셨을텐데요, ELF는 Executable and Linking Format의 약어입니다. UNIX / LINUX 기반에서 사용되는 실행 및 링킹 파일 포맷입니다. 지난 글에 이어 이번 글에서는 Symbol Resolution 에 대해 알아보겠습니다. [이전 글] 2018/08/27 - [Linux/Debugging & Testing] - [ELF] ELF Header 2018/08/29 - [Linux/Debugging & Testing] - [ELF] Segment와 Program Header 2018/09/07 - [Linux/Debugging & Testing] - [ELF] Sections and the Section header table 2018/09/09 - [L..

    [ELF] Stripping an ELF object

    [ELF] Stripping an ELF object

    ELF 란 용어를 많이 들어보셨을텐데요, ELF는 Executable and Linking Format의 약어입니다. UNIX / LINUX 기반에서 사용되는 실행 및 링킹 파일 포맷입니다. 지난 글에 이어 이번 글에서는 Stripping ELF 에 대해 알아보겠습니다. [이전 글]2018/08/27 - [Linux/Debugging & Testing] - [ELF] ELF Header2018/08/29 - [Linux/Debugging & Testing] - [ELF] Segment와 Program Header2018/09/07 - [Linux/Debugging & Testing] - [ELF] Sections and the Section header table Strip (?)ELF 파일을 Strip..

    [ELF] Sections and the Section header table

    [ELF] Sections and the Section header table

    ELF 란 용어를 많이 들어보셨을텐데요, ELF는 Executable and Linking Format의 약어입니다. UNIX / LINUX 기반에서 사용되는 실행 및 링킹 파일 포맷입니다. 지난 글에 이어 이번 글에서는 ELF 파일 포맷에서 Section 과 Section Header Table에 대해 알아보겠습니다. [이전 글] 2018/08/27 - [Linux/Debugging & Testing] - [ELF] ELF Header 2018/08/29 - [Linux/Debugging & Testing] - [ELF] Segment와 Program Header Section Header Table Section Header Table은 ELF file의 거의 모든 파트(?)에 대한 정보가 들어있습니..

    [ELF] Segment와 Program Header

    [ELF] Segment와 Program Header

    ELF 란 용어를 많이 들어보셨을텐데요, ELF는 Executable and Linking Format의 약어입니다. UNIX / LINUX 기반에서 사용되는 실행 및 링킹 파일 포맷입니다. 지난 글에 이어 이번 글에서는 ELF 파일 포맷에서 Program Header에 대해 알아보겠습니다. [이전 글]2018/08/27 - [Linux/Debugging & Testing] - [ELF] Executable and Linking Format - ELF Header Program HeaderProgram Header Table은 ELF내의 Segment들에 대한 정보와 그 Segment들을 메모리에 어떻게 로드해야 하는지에 대한 정보가 포함되어 있습니다. Segment란 앞 선 글에서도 설명하였지만 다시 ..

    [ELF] ELF Header

    [ELF] ELF Header

    ELF 란 용어를 많이 들어보셨을텐데요, ELF는 Executable and Linking Format의 약어입니다. UNIX / LINUX 기반에서 사용되는 실행 및 링킹 파일 포맷입니다. 이번 글에서는 ELF 파일 포맷에 대해 알아보겠습니다. 개념 및 사전 지식 정의ELF는 하나의 ELF Header와 파일데이터로 구성되어 있습니다. 아래 그림을 보시면 파일의 가장 위에 ELF Header 정보가 들어있고, 그 아래 program header table이 있습니다. 그 이후 Segment 정보와 Section 관련 정보들이 나오네요. ELF header Program header table Segment 1 Segment 2 ... Section header table optional ELF head..