// strip.h -- Release build stripping // // Removes debug information from a compiled module to hinder // decompilation. Clears debug variable info and debug UDT // definitions, and mangles proc names that aren't needed for // runtime name-based dispatch. #ifndef DVXBASIC_STRIP_H #define DVXBASIC_STRIP_H #include "../runtime/vm.h" // Strip debug info from a module for release builds: // - Clear debug variable info // - Clear debug UDT definitions // - Mangle proc names to F1, F2, ... except for event handlers // (matched by Control_Event suffix) and names referenced as // string constants (SetEvent dispatch targets). void basStripModule(BasModuleT *mod); #endif // DVXBASIC_STRIP_H