Git Product home page Git Product logo

dump_syms's Introduction

This project is not actively maintained

You probably want the Mozilla Rust rewrite

A reimplementation of the Breakpad Windows dump_syms tool.

Build Status Build status

Prerequisites

This project requires gyp to build. On Ubuntu you can apt-get install gyp. On Windows you can use Chromium's depot_tools.

On Linux you'll also probably want ninja. (Windows users can get ninja as part of the depot_tools above.)

Building

  • Run gyp to generate build files
gyp -f ninja --depth=. ./dump_syms.gyp
  • To generate a Visual Studio project you can instead run:
gyp -f msvs --depth=. ./dump_syms.gyp
  • Run ninja to build
ninja -C out/Default/

dump_syms's People

Contributors

jon-turney avatar luser avatar peterbe avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dump_syms's Issues

Dump extern "C" functions without parameters in signature

For compatibility with Breakpad's dump_syms, we should figure out how to dump extern "C" functions without parameters in the function signature. I have an attempt at doing this in the check-linkage branch (71add3e), but it doesn't work properly. The PDB file I'm testing with has multiple records in the globals stream with the same address, and I don't know how to disambiguate them.

Support OMAP remapping

We get bad addresses for functions in some PDBs, I think we need to handle OMAP remapping properly.

PDB spec

Just putting this information here for visibility, but it looks like Microsoft is finally opening up about the PDB internals here https://github.com/Microsoft/microsoft-pdb in order for other compilers to output debug information, hopefully I will get some time to return to this in the future and support all the things missing from the current reader. :)

Support x64 unwind tables

Breakpad's dump_syms can read the x64 unwind tables out of the PE and dump them as STACK CFI records. We should do the same. Additionally, some PDB files (notably Microsoft's) have pdata/xdata streams in them that should contain the same information, so we can do better and dump the data directly out of the PDB if available.

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.