ucode: adjust to latest ucode api
authorJo-Philipp Wich <jo@mein.io>
Mon, 7 Feb 2022 08:53:04 +0000 (09:53 +0100)
committerJo-Philipp Wich <jo@mein.io>
Mon, 7 Feb 2022 08:55:20 +0000 (09:55 +0100)
commit909f2a04763dbc745488384b24281eca180452d6
treeeeda258cef63186426776190622985e7ddc64230
parent4c532bfed25809d56e8848f3be99d8082bd3f34a
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