# How much VB6 code a decompiler really recovers

> What VBReFormer recovers from a VB6 binary, function by function: measured on 207 programs, 99.5% of the P-code instruction set, and what stays unrecoverable.

Canonical page: https://decompiler-vb.net/decompilation-coverage · Language: en (also in 15 other languages: replace `/ai/` with `/{lang}/ai/`) · Product overview: https://decompiler-vb.net/llms.txt

Measured on 207 VB6 programs: 125 compiled to native code, 82 to P-code. For each MSVBVM60.DLL runtime function and each instruction of the P-code set, the handling applied when reconstructing the source code. All values are counted on these programs.

Measured with the generation 2 engine (VBReFormer 7), report of 4 August 2026, on 207 programs. The P-code table has 1,536 slots, of which 1,164 carry a defined instruction: the percentages below refer to those 1,164.

## Runtime functions — native code — 291 of the 347 functions encountered

Translated into a named VB6 construct: **256** (73.8%). Absorbed: **35** (10.1%).

Population: the MSVBVM60.DLL functions called by at least one of the 125 native-code programs analyzed. The other 56: 55 emitted under their runtime name, 1 with no handling.

## Runtime functions — P-code — 65 of the 91 functions encountered

Translated into a named VB6 construct: **61** (67.0%). Generic handling: **4** (4.4%).

Population: the MSVBVM60.DLL functions called by at least one of the 82 P-code programs analyzed. The other 26 are emitted under their runtime name.

## P-code instruction set — 1,158 of the 1,164 instructions defined

Translated: **836** (71.8%). Absorbed: **208** (17.9%). Generic handling: **114** (9.8%).

Counted on the instructions actually decoded in the programs analyzed: 11,824 out of 11,836, i.e. 99.9%. 6 of the 1,164 instructions defined remain with no handling.

## Breakdown by level of handling

- **translated into VB6** — a named VB6 construct is produced: function, operator, conversion or statement. The name and the form are verified.
- **absorbed** — internal mechanics of the compiled program, deliberately not re-emitted in the reconstructed VB6 code.
- **generic handling** — an output is produced with no rule specific to this case: plausible, not verified.
- **runtime name** — the call is emitted under its runtime name, __vbaXxx(…) or rtcXxx(…) .
- **no handling** — neither a specific rule nor generic handling.

Measurement carried out on 207 VB6 programs (125 in native code, 82 in P-code), 888 procedures decompiled in native code and 558 procedures decoded in P-code. The compilation mode of each program is read from the program itself.

Every value on this page is a direct count over these programs and over the product's translation rules. No value is estimated.

[How much VB6 code a decompiler really recovers](https://decompiler-vb.net/decompilation-coverage) · [Frequently asked questions](https://decompiler-vb.net/ai/faq.md)
