Skip to content

Add option KeepByteCodeSymbols to keep the symbol table when stripping bytecode

Camil Staps requested to merge add-keep-bytecode-symbols-option into master

Option -s of bcstrip was added in

So there are basically three options:

  1. Strip sections and symbol table (useful when you just want to interpret)
  2. Strip sections but keep symbols (useful when you want to serialize/deserialize)
  3. Don't strip (useful if you suspect a bug in the stripper)

Before you would need option 3 for using the serialization library, but now the most sensible default is option 2.

Edited by Camil Staps

Merge request reports