modules: 'rebase' from byterun_with_modules, initial impl, without verification

This commit is contained in:
ProgramSnail 2025-01-08 23:52:39 +03:00
parent 73d3fbc388
commit eb1ddfa447
14 changed files with 420 additions and 115 deletions

View file

@ -2,4 +2,14 @@
#include "utils.h"
void run(Bytefile *bf, int argc, char **argv);
// void run(Bytefile *bf, int argc, char **argv);
void run_init(size_t *stack);
void run_mod_rec(uint mod_id, int argc, char **argv);
void run_prepare_exec(int argc, char **argv);
void run_mod(uint mod_id, int argc, char **argv);
void run_cleanup();