hax icon indicating copy to clipboard operation
hax copied to clipboard

Add basic support for other platforms

Open 7ap opened this issue 2 years ago • 4 comments

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

7ap avatar Nov 30 '22 21:11 7ap

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.

7ap avatar Dec 01 '22 19:12 7ap

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

iraizo avatar Dec 06 '22 15:12 iraizo

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

not-matthias avatar Dec 06 '22 15:12 not-matthias

Yeah will do when I get Freetime

iraizo avatar Dec 06 '22 16:12 iraizo