void nb_fix_program_object(void);

nb_fix_program_object Fixes up the program object so that it reflects the program's true size. After any changes to the program, you must call nb_fix_program_object otherwise the garbage collector will potentially sweep off the end of the program causing havoc. The low-level routines don't call this by design as it's a fairly expensive operation—it's up to high-level code to call this when the program has been changed.