#include "b.h" #include #include #include extern uintptr_t* b_module_main[]; extern intptr_t i_main(intptr_t argc, const char* argv[]); FILE* input_unit; FILE* output_unit; static intptr_t i_char(intptr_t s, intptr_t n) { const char* p = (const char*)(s< 0); do fputc(s[--i], output_unit); while (i > 0); } static void i_printf(intptr_t s, ...) { char* p = (char*)(s<>= SHIFT; } } int main(int argc, const char* argv[]) { patch_addresses(b_module_main); patch_addresses(b_module_stdlib); input_unit = stdin; output_unit = stdout; return i_main(argc, NULL); }