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

i#38: Attach injection on Linux #5019

Merged
merged 26 commits into from
Aug 16, 2021
Merged

Commits on Jul 27, 2021

  1. Implement attach for both windows and linux

    For linux, we use ptrace() to inject dynamorio to running process.
    For windows, we get target process handle using DebugActiveProcess()
    and inject with original dr_inject_process_inject().
    summershrimp authored and M3m3M4n committed Jul 27, 2021
    Configuration menu
    Copy the full SHA
    e824187 View commit details
    Browse the repository at this point in the history
  2. Fix formatting.

    summershrimp authored and M3m3M4n committed Jul 27, 2021
    Configuration menu
    Copy the full SHA
    ce314fc View commit details
    Browse the repository at this point in the history
  3. Missing #endif

    M3m3M4n committed Jul 27, 2021
    Configuration menu
    Copy the full SHA
    a5b2b1d View commit details
    Browse the repository at this point in the history
  4. Enabling timeout & minor fix

    M3m3M4n committed Jul 27, 2021
    Configuration menu
    Copy the full SHA
    156bc0b View commit details
    Browse the repository at this point in the history
  5. Format fixes

    M3m3M4n committed Jul 27, 2021
    Configuration menu
    Copy the full SHA
    c45dc6b View commit details
    Browse the repository at this point in the history
  6. Move Psapi dependency out of core library

    Merge head
    M3m3M4n committed Jul 27, 2021
    Configuration menu
    Copy the full SHA
    3a67c03 View commit details
    Browse the repository at this point in the history
  7. clang format

    M3m3M4n committed Jul 27, 2021
    Configuration menu
    Copy the full SHA
    b9cf01a View commit details
    Browse the repository at this point in the history
  8. missing appname

    M3m3M4n committed Jul 27, 2021
    Configuration menu
    Copy the full SHA
    3621a9d View commit details
    Browse the repository at this point in the history
  9. fix format string specifier

    M3m3M4n committed Jul 27, 2021
    Configuration menu
    Copy the full SHA
    95c67d4 View commit details
    Browse the repository at this point in the history

Commits on Aug 3, 2021

  1. - Attaching in linux now works regardless of blocking syscall.

    - Remove support for attaching on Windows for now.
    M3m3M4n committed Aug 3, 2021
    Configuration menu
    Copy the full SHA
    d315671 View commit details
    Browse the repository at this point in the history
  2. Formatting

    M3m3M4n committed Aug 3, 2021
    Configuration menu
    Copy the full SHA
    0f7343c View commit details
    Browse the repository at this point in the history
  3. Formatting

    M3m3M4n committed Aug 3, 2021
    Configuration menu
    Copy the full SHA
    5a2f1fd View commit details
    Browse the repository at this point in the history
  4. Formatting

    M3m3M4n committed Aug 3, 2021
    Configuration menu
    Copy the full SHA
    448097d View commit details
    Browse the repository at this point in the history

Commits on Aug 6, 2021

  1. Bug fix

    M3m3M4n committed Aug 6, 2021
    Configuration menu
    Copy the full SHA
    48d1a0d View commit details
    Browse the repository at this point in the history
  2. format fix

    M3m3M4n committed Aug 6, 2021
    Configuration menu
    Copy the full SHA
    c04d706 View commit details
    Browse the repository at this point in the history

Commits on Aug 7, 2021

  1. Now mask errno with EINTR

    only allow ptrace attach to skip syscall with x86 as lack of testing in arm/aarch64
    M3m3M4n committed Aug 7, 2021
    Configuration menu
    Copy the full SHA
    1c54220 View commit details
    Browse the repository at this point in the history
  2. format fix

    M3m3M4n committed Aug 7, 2021
    Configuration menu
    Copy the full SHA
    decc2d2 View commit details
    Browse the repository at this point in the history

Commits on Aug 8, 2021

  1. bug fix

    M3m3M4n committed Aug 8, 2021
    Configuration menu
    Copy the full SHA
    a97ceb1 View commit details
    Browse the repository at this point in the history
  2. format fix

    M3m3M4n committed Aug 8, 2021
    Configuration menu
    Copy the full SHA
    d2407f3 View commit details
    Browse the repository at this point in the history

Commits on Aug 10, 2021

  1. bug fixes

    M3m3M4n committed Aug 10, 2021
    Configuration menu
    Copy the full SHA
    ae5ad02 View commit details
    Browse the repository at this point in the history

Commits on Aug 11, 2021

  1. Resolving PR comments

    M3m3M4n committed Aug 11, 2021
    Configuration menu
    Copy the full SHA
    a1c209d View commit details
    Browse the repository at this point in the history
  2. Resolving PR comments

    M3m3M4n committed Aug 11, 2021
    Configuration menu
    Copy the full SHA
    03c832c View commit details
    Browse the repository at this point in the history

Commits on Aug 14, 2021

  1. Resolving PR comments

    M3m3M4n committed Aug 14, 2021
    Configuration menu
    Copy the full SHA
    5e550ff View commit details
    Browse the repository at this point in the history

Commits on Aug 16, 2021

  1. Update x86.asm

    Fix typo; add period at end of sentence.
    derekbruening authored Aug 16, 2021
    Configuration menu
    Copy the full SHA
    20ecddc View commit details
    Browse the repository at this point in the history
  2. Update injector.c

    Fix spelling
    derekbruening authored Aug 16, 2021
    Configuration menu
    Copy the full SHA
    fb29f79 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0fff06b View commit details
    Browse the repository at this point in the history