hax-rs / hax

🧪 The versatile and intuitive memory hacking framework.
https://crates.io/crates/hax
MIT License
29 stars 0 forks source link

Add basic support for other platforms #3

Open 7ap opened 1 year ago

7ap commented 1 year ago

Primarily we will support Windows as it is the most popular operating system but I would love to have cross-platform code.

7ap commented 1 year ago

If I remember correctly, memlib has some cross-platform support so that shouldn't be an issue. The hax::main attribute definitely would need to be cross platform as it's a very core part of the framework, I'll need to keep this in mind while working on #2.

iraizo commented 1 year ago

impl memoryread/write for darwin wouldn't be that hard I'd say but any kind of wrong argument would come with a segfault. so i guess mach_vm_read and mach_vm_write should be considered to wrap around

not-matthias commented 1 year ago

@iraizo Feel free to fork the repo and add the implementation for MacOS. You can take a look at the already existing implementations here.

iraizo commented 1 year ago

Yeah will do when I get Freetime