Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set base address on OSX #313

Merged
merged 4 commits into from
Feb 9, 2018
Merged

Set base address on OSX #313

merged 4 commits into from
Feb 9, 2018

Commits on Feb 6, 2018

  1. Set base address on OSX

    This fixes issue google#311. The mapped address of libraries was never considered, nor was the load address of the segments.
    Timmmm authored Feb 6, 2018
    Configuration menu
    Copy the full SHA
    5bdb9a9 View commit details
    Browse the repository at this point in the history

Commits on Feb 7, 2018

  1. Simplify openMachO, add tests

    There is already a function very similar to getTextAddress(). This also adds a test that tries reading symbols / source addresses from a library and an executable.
    
    I also had to fix a couple of bugs for the tests to work:
    
    1. Crash when the regex passed to f.Symbols() was nil.
    2. The last symbol returned by `nm` is always discarded.
    Tim Hutt committed Feb 7, 2018
    Configuration menu
    Copy the full SHA
    98b3a8b View commit details
    Browse the repository at this point in the history

Commits on Feb 8, 2018

  1. Address various binutils issues in previous commits

    * Return an error if __TEXT isn't found
    * Return an error if start - textSegment.addr would underflow
    * Break out findSymbol() function
    * Rework findSymbols() function, it now returns non-EOF errors instead of ignoring them
    * Remove accidentally added debug binary
    Tim Hutt committed Feb 8, 2018
    Configuration menu
    Copy the full SHA
    ebd8f8c View commit details
    Browse the repository at this point in the history

Commits on Feb 9, 2018

  1. Fix nits & remove unused test binaries for now

    Tim Hutt committed Feb 9, 2018
    Configuration menu
    Copy the full SHA
    25f4ba0 View commit details
    Browse the repository at this point in the history