18 lines
498 B
C
18 lines
498 B
C
// strip.h -- Release build stripping
|
|
//
|
|
// Removes debug information from a compiled module to prevent
|
|
// decompilation. Clears procedure names, debug variable info,
|
|
// and debug UDT definitions.
|
|
|
|
#ifndef DVXBASIC_STRIP_H
|
|
#define DVXBASIC_STRIP_H
|
|
|
|
#include "../runtime/vm.h"
|
|
|
|
// Strip debug info from a module for release builds:
|
|
// - Clear all procedure names
|
|
// - Clear debug variable info
|
|
// - Clear debug UDT definitions
|
|
void basStripModule(BasModuleT *mod);
|
|
|
|
#endif // DVXBASIC_STRIP_H
|