ucode: adjust to latest ucode api
authorJo-Philipp Wich <jo@mein.io>
Mon, 7 Feb 2022 08:59:26 +0000 (09:59 +0100)
committerJo-Philipp Wich <jo@mein.io>
Mon, 7 Feb 2022 08:59:26 +0000 (09:59 +0100)
commit881fd3b671188945581c15feef3dbdd9b0af9102
tree421f1aff254dbab874a5086c5c755080382292c9
parent8b2868e20d6e9b5931a2153a0854228e8a62e0f0
ucode: adjust to latest ucode api

The public libucode api has been revised to return and expect an
uc_program_t pointer instead of a main function reference.

The program (former main function) is also not implicitly released
by uc_vm_execute() anymore.

Adjust the ucode plugin accordingly to match the new requirements.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
ucode.c