GithubHelp home page GithubHelp logo

pe-loader's Introduction

--- RU ---
Эта библиотека может помочь в изучении PE формата (PE - Portable Executable - *.exe;*.dll;...).
Библиотека содержит свой набор структур описания формата, но ни что не мешает, получив одну структуру, привести ее к структуре из заголовка WinNT.h. Это легко делается.
А свои структуры я завел исключительно ради полного изучения всех полей DOS-, PE- и COFF- заголовков. К тому же мне немного легче работать с кроссплатформенными типами данных, хотя этот фактор был менее всего значим.
Первый раз такую библиотеку я писал еще в 2007 году, этот вариант - это уже переработка с учетом некоторых моих текущих знаний.

Задуматься над такой библиотекой меня сподвигла статья : http://www.rsdn.ru/?article/baseserv/peloader.xml
А источники, которые я изучал для написания, и вспомнить уже не удастся, их было очень много.

Это уже готовая библиотека, которую вполне можно использовать для работы с небольшим dll-файлом.
Я не проверял работу на загрузке системных или каких либо сложных dll, поэтому не могу ручаться за корректность работы кода полностью для всех случаев.

--- EN ---
This library can help to understand the PE file format (PE - Portable Executable - *.exe;*.dll;...).
The library is based on it's own data structures. But nothing can stop you from using type cast between my structures and that ones, which described inside WinNT.h.
I use my structures just because i want to clearly understand all the DOS- PE- and COFF- structures data fields.
That is not my first PE-loader library, first one was written at 2007, this is my modern reconstruction of that library.

This is a final library, which can be used for loading some small DLL file.
I can't guaranty that library will work with all DLL files you want. I never test it with system or some kind of huge DLL files.

pe-loader's People

Contributors

frankstain avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.