Switch to https://github.com/Aussiemon/luajit-decompiler-v2 #152

Open
opened 2023-11-28 21:50:10 +01:00 by lucas · 1 comment
Owner

Since it's in C++, I can probably wrap it up with a C ABI, then link it statically on build.

Since it's in C++, I can probably wrap it up with a C ABI, then link it statically on build.
lucas added the
crate/sdk
stage
actionable
kind
enhancement
labels 2023-11-28 21:50:10 +01:00
lucas added this to the Mod Manager project 2023-11-28 21:50:14 +01:00
Author
Owner

The proper process would like be to migrate the project itself to a library+cli structure first, then create a -sys Rust crate with bindings to that library.

From a quick glance at the code, that will be quite the rework in itself, as there doesn't seem to be any abstraction over where the binary data comes from. The file path is carried all the way through until bytecode.cpp. Pulling that out and abstraction over some generic bytestream will have to be the first step.

The proper process would like be to migrate the project itself to a library+cli structure first, then create a `-sys` Rust crate with bindings to that library. From a quick glance at the code, that will be quite the rework in itself, as there doesn't seem to be any abstraction over where the binary data comes from. The file path is carried all the way through until `bytecode.cpp`. Pulling that out and abstraction over some generic bytestream will have to be the first step.
lucas pinned this 2023-11-28 23:44:19 +01:00
lucas unpinned this 2024-08-21 15:31:58 +02:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: bitsquid_dt/dtmt#152
No description provided.