extract_vba_modules

Function extract_vba_modules 

Source
pub fn extract_vba_modules(vba_bin: &[u8]) -> Result<VbaProject>
Expand description

Extract VBA module source code from a vbaProject.bin binary blob.

Parses the OLE/CFB container, reads the dir stream to discover module metadata, then decompresses each module stream.

Returns a VbaProject containing extracted modules and any non-fatal warnings (e.g., modules that could not be read or decompressed, unsupported codepages).