nelhage / reptyr

Reparent a running program to a new terminal
MIT License
5.83k stars 215 forks source link

Support for mipsel #136

Open zloyle opened 2 years ago

zloyle commented 2 years ago

Is it possible to add mipsel support via the method outlined in the docs?

reptyr works on i386, x86_64, and ARM. Ports to other architectures should be straightforward, and should in most cases be as simple as adding an arch/ARCH.h file and adding a clause to the ifdef ladder in ptrace.c.

nelhage commented 2 years ago

I have no familiarity with mipsel, but it seems likely. https://github.com/nelhage/reptyr/pull/133 recently added support for riscv64 and might be useful as a template if you're interested in trying.

zloyle commented 2 years ago

Understood. Thanks. I'll take a look at the link you posted.