Projects STRLCPY LIEF Commits 02b71674
🤬
  • ■ ■ ■ ■
    doc/sphinx/Intro.rst
    skipped 22 lines
    23 23   
    24 24  In the architecture, each format has its own *namespace*, parser and builder.
    25 25  The parser takes a binary, library... as input and decomposes in LIEF object.
    26  -For instance, the ``ELF``  format has segments, so ``ELF::Parser`` will parse segments to create ``ELF::Segment``. In the ``ELF::Binary`` class we will have a list of ``ELF::Segement`` which can be modified (change type, size, content...). Then the ``ELF::Builder`` will transform ``ELF::Binary`` into a valid executable.
     26 +For instance, the ``ELF``  format has segments, so ``ELF::Parser`` will parse segments to create ``ELF::Segment``. In the ``ELF::Binary`` class we will have a list of ``ELF::Segment`` which can be modified (change type, size, content...). Then the ``ELF::Builder`` will transform ``ELF::Binary`` into a valid executable.
    27 27   
    28 28  This process can be summed up in the following figure:
    29 29   
    skipped 9 lines
  • ■ ■ ■ ■
    src/ELF/Builder.tcc
    skipped 60 lines
    61 61   if (this->binary_->get_header().program_headers_offset() > 0) {
    62 62   this->build_segments<ELF_T>();
    63 63   } else {
    64  - LOG(WARNING) << "Segements offset is null";
     64 + LOG(WARNING) << "Segments offset is null";
    65 65   }
    66 66   
    67 67   this->build_sections<ELF_T>();
    skipped 1198 lines
Please wait...
Page is in error, reload to recover