Code Monkey home page Code Monkey logo

libdwarf's Introduction

Travis Build Status AppVeyor Build status

This is README.md

BUILDING

To just build libdwarf and dwarfdump, if the source tree is in /a/b/libdwarf-1

Using CMake

To build using CMake one might do

  • cd /a/b/libdwarf-1
  • configure: cmake . -B_Release -DCMAKE_BUILD_TYPE=Release
  • build: cmake --build _Release --target dd
  • (optionally install): sudo cmake --build _Release --target install

for autotools builds, see README

libdwarf's People

Contributors

carlosalbertoenciso avatar davea42 avatar dvirtz avatar philipdouglas avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

libdwarf's Issues

Dwarfdump builds without support for 64bit elfs

Hi,

I have dwarfdump successfully building on Linux, but it can't recognise 64 bit elf files. Digging into the CMake output, the tests for HAVE_ELF64_R_INFO, elf64_getehdr and other 64bit elf things are all failing.

The equivalent tests in the LibElf CMake output are passing and the elf.dll contains all the 64 bit functions it should.

I tried manually overriding the ELF64 variables and it builds fine and can now read 64 bit elfs happily:

-DHAVE_ELF64_GETEHDR=1 -DHAVE_ELF64_GETSHDR=1 -DHAVE_ELF64_RELA=1 -DHAVE_ELF64_SYM=1 -DHAVE_ELF64_R_INFO=1

Is this something that should be working or should I go digging in the CMake and see if I can fix the detection code?

dwarfdump wants a nonexistant libdwarf.dll

Hi,

I'm trying to build dwarfdump.exe and dwarf.dll using your CMake files and link it to elf.dll built from https://github.com/dvirtz/libelf. Dwarfdump builds fine, but when I run it silently fails. It's returning a windows error code that indicates a missing DLL and Dependency Walker (http://www.dependencywalker.com/) says its missing libelf.dll.

LibElf only builds one DLL (elf.dll) which contains all the functions that dwarfdump is looking for in libelf.dll. Any idea what I'm doing wrong?

Thanks.

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.