Giter Club home page Giter Club logo

vdb's People

Contributors

kb9 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

vdb's Issues

Support for ASLR

Describe the bug
Address space layout randomization (ASLR) randomizes the base address of executables. As such, function addresses are specified in the debug sections as offsets from the base address instead of absolute positions. VDB does not currently support this relative addressing scheme, and will crash when attempting to read the relative addresses as absolute.

To Reproduce

  1. Import an executable compiled with the -pie flag.
  2. Set a break point at any point in the source.
  3. Run the target executable.

Expected behavior
The debugger should halt the target process at the break point specified. This should be reflected visually by the UI.

System specifications (please complete the following information):

  • OS: Ubuntu 18.04
  • Target executable compiler: GCC 7.3.0

Additional context
This problem can be mitigated by compiling executables without the -pie option. However, recent versions of GCC on Ubuntu are built with the --enable-default-pie option. This means that VDB will only function correctly if executables are compiled with the -no-pie option for these versions of GCC.

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.