Skip to content

Constants defined in the DWARF spec but in a machine readable format

License

Notifications You must be signed in to change notification settings

tenderlove/dwarf-consts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

DWARF Constants

This is just a repository that contains all of the constants from the DWARF spec but in a machine readable and program language agnostic format.

I didn't want to write a LaTeX parser, and it seems like other projects have all the DWARF constants hard coded in their respective language. This is a language agnostic repository of the DWARF constants so that other projects can write DWARF parsers or generators without copy / pasting from a PDF.

Frequently Asked Questions

I literally just created this project, so nobody has asked me any questions.

Questions I Suspect Will Be Asked Frequently

1. What is the point of this project?

I wanted to build a DWARF parser in Ruby and it seemed like all DWARF parsers hard-code the constants in the particular implementation language:

It would be nice if when the DWARF spec is updated that rather than copy / pasting from a PDF we could just generate the constants. That's why I made this.

2. Why YAML?

I chose YAML over JSON because I could represent numbers in hexadecimal format, like the spec does.

About

Constants defined in the DWARF spec but in a machine readable format

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published