willox / auxtools

Rust library for low-level interfacing with BYOND's virtual machine. Includes a remote debugger for the BYOND DreamMaker language.
MIT License
27 stars 32 forks source link

Update Linux signatures for BYOND 514.1588 #61

Closed Mothblocks closed 2 years ago

Mothblocks commented 2 years ago

Untested. Unit tests that setup a DM server would be cool.

willox commented 2 years ago

It'd be nice if this didn't remove the other signatures so that backwards compat can be kept

Mothblocks commented 2 years ago

It is kept:

 xxd -p 514.1560_byond_linux/byond/bin/libbyond.so | tr -d '\n' | rg -io 'e8........890424e8........8b008d4d..890c24'
e8ca000000890424e8424cfcff8b008d4dd4890c24

 xxd -p 514.1588_byond_linux/byond/bin/libbyond.so | tr -d '\n' | rg -io 'e8........890424e8........8b008d4d..890c24'
e8ca000000890424e88246fcff8b008d4dd4890c24

(Though now that I look at it I'm weirded out that the output seems to be the same? But IDA says that is correct)

Mothblocks commented 2 years ago

Okay this probably works but there's another one I have to fix now:

## WARNING: Error initializing SSlua: FAILED (Couldn't find set_variable)

willox commented 2 years ago

Well if you'd rather test that signature finds a match against every linux release of byond since the first we supported that'd be fine too 😆

Mothblocks commented 2 years ago

Fair enough

Mothblocks commented 2 years ago

I'm gonna put a bunch of signatures in here until Auxlua works on latest Linux if you don't mind

Mothblocks commented 2 years ago

It works

Mothblocks commented 2 years ago

I didn't get a notification for the failure and also I'm pretty sure cargo check worked fine on my Windows? Wonder if old Rust is being used or something. Will take a look and see if I'm just crazy

Mothblocks commented 2 years ago

@willox