Question:
Is there a way to mangle or remove internal symbols ? Same for compilation information (paths to files, etc)
Answer:
The debug information and symbol table can be omitted from a DXE by omitting option -g and passing option -s to the compiler or linker.
Please note that some debug information required for the adi_fatal_error facility that always remains.