Git Product home page Git Product logo

pdbparser's Introduction

PDB Parser

Microsoft PDB files parser library.

Use

Target named pdbparser is exposed. It can be used as follows:

target_link_libraries(project-that-needs-pdbparser pdbparser)

Status

The repository is used by the RetDec project to parse debugging information from Microsoft PDB files. Although such functionality might be useful in other projects, we do not recommend to use this library. Its quality is not very high, it will not be further developed, and we plan to replace it in RetDec with LLVM's PDB parsing capabilities.

Requirements

  • A compiler supporting C++14
    • On Windows, only Microsoft Visual C++ is supported (version >= Visual Studio 2015).
  • CMake (version >= 3.6)

Build and Installation

  • Clone the repository or download the sources into a directory named pdbparser.
    • git clone https://github.com/avast-tl/pdbparser.git
  • Linux:
    • cd pdbparser
    • mkdir build && cd build
    • cmake ..
    • make
  • Windows:
    • Open MSBuild command prompt, or any terminal that is configured to run the msbuild command.
    • cd pdbparser
    • mkdir build && cd build
    • cmake .. -G<generator>
    • msbuild /m /p:Configuration=Release pdbparser.sln
    • Alternatively, you can open pdbparser.sln generated by cmake in Visual Studio IDE.

You must pass the following parameters to cmake:

  • (Windows only) -G<generator> is -G"Visual Studio 14 2015" for 32-bit build using Visual Studio 2015, or -G"Visual Studio 14 2015 Win64" for 64-bit build using Visual Studio 2015. Later versions of Visual Studio may be used.

You can pass additional parameters to cmake:

  • -DCMAKE_BUILD_TYPE=Debug to build with debugging information, which is useful during development. By default, the project is built in the Release mode. This has no effect on Windows, but the same thing can be achieved by running msbuild with the /p:Configuration=Debug parameter.

License

Copyright (c) 2017 Avast Software, licensed under the MIT license. See the LICENSE file for more details.

Contributing

See RetDec contribution guidelines.

pdbparser's People

Contributors

petermatula avatar s3rvac avatar

Watchers

 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.