Skip to content

Issue implementing the ptrace syscall #1427

@ArthurVermot

Description

@ArthurVermot

I made a post here, but maybe I should have tried here before.

TL;DR: I need to implement the ptrace syscall (not implemented by Miasm) for my DSE, so I wrote something using syscall.py as reference, but it results in two issues that I still can't fix:

  • either a "DriftException: Drift of exception_flags: 16 instead of 0"
  • or the fact that the execution doesn't seem to resume correctly and a syscall 0 is invoked right after the ptrace one (because it returns 0).

How should I proceed here?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions