Skip to content
This repository has been archived by the owner on Jan 18, 2021. It is now read-only.

Port to macOS #6

Open
pgoodman opened this issue Feb 8, 2018 · 1 comment
Open

Port to macOS #6

pgoodman opened this issue Feb 8, 2018 · 1 comment

Comments

@pgoodman
Copy link
Collaborator

pgoodman commented Feb 8, 2018

No description provided.

@pgoodman
Copy link
Collaborator Author

Making the assembly portable

For example:

    .align 16
    .globl TraceBranch
    .type TraceBranch, @function
TraceBranch:
    .cfi_startproc

A few of these directives might not work on macOS, and we'd want to wrap things like TraceBranch in a macro call like SYMBOL(TraceBranch) that on macOS will prepend and _.

Snapshotting

This is a bit more challenging. We depend on Linux ptrace to take snapshots of the 32-bit programs (and then fiddle with some initial register state and such). What we really need is an ELF loader of some kind that can create the initial memory image of the loaded program.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant