Branch: Tag:

2019-07-22

2019-07-22 11:58:36 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Move string_builder_append_disassembly() to string_builder.cmod.

Some minor API-changes to string_builder_append_disassembly() to make
it architecture-independant, and suitable for more use-cases than
just byte-code disassembly. The displayed address is now independant
of the actual address of the memory dump.

Also adds some documentation.

1122:    params[0] = params[1];    params[1] = NULL;    } -  string_builder_append_disassembly(&buf, code, code+1, +  string_builder_append_disassembly(&buf, (size_t)code, code, code+1,    mnemonic, params, NULL);    code++;    }