sha0coder / scemu

x86 malware emulator
https://jolmos.blogspot.com
GNU General Public License v3.0
199 stars 26 forks source link

pull libscemu into scemu #22

Closed brandonros closed 2 years ago

brandonros commented 2 years ago

thoughts? big effort?

sha0coder commented 2 years ago

it would be nice.

emu.rs of lib is a bit different:

regs64.rs of scemu have your tracing changes.

in theory not a bit effort, doable and needed.

I will do: i sync lib to scemu and then pass all scemu to lib, then modify main.rs

brandonros commented 2 years ago

i think you will run into annoying issue where any changes in libscemu will needed to be pulled into scemu, up to you. i see payoffs/i feel bad you are having to keep them up to date/syncing between the two

sha0coder commented 2 years ago

well duplicating work was not that bad because i can used scemu to test things before pushing the changest to libscemu. if scemu uses libscemu to test any change will be needed to upgrade version without having testing it.

but yeah makes no sense duplicating.

sha0coder commented 2 years ago

this weekend I will do it,

we have to find a way to test the things before publishing to crates.io

brandonros commented 2 years ago

did you see my message about new set_reg32 changes breaking DTS_Patcher 100 instructions in now due to mov mismatch?

brandonros commented 2 years ago

https://github.com/sha0coder/scemu/issues/24 in here

need your help resolving

sha0coder commented 2 years ago

Brandon, in local I have scemu using libscemu :) it passed all my tests with my shellcodes I'm going to push it.

sha0coder commented 2 years ago

some tool options can not work i will test all of them other day.