Upravit

Sdílet prostřednictvím


.dml_flow (Unasemmble with Links)

The .dml_flow command displays a disassembled code block and provides links that you can use to construct a code flow graph.

.dml_flow Start Target

Parameters

Start
The address of an instruction from which the target address can be reached.

Target
An address in the code block to be disassembled.

Remarks

Consider the call stack shown in the following example.

0: kd> kL
Child-SP          RetAddr           Call Site
fffff880`0335c688 fffff800`01b41f1c nt!IofCallDriver
fffff880`0335c690 fffff800`01b3b6b4 nt!IoSynchronousPageWrite+0x1cc
fffff880`0335c700 fffff800`01b4195e nt!MiFlushSectionInternal+0x9b8
...

Suppose you want to examine all code paths from the start of nt!MiFlushSectionInternal to the code block that contains the return adress, fffff800`01b3b6b4. The following command gets you started.

.browse .dml_flow nt!MiFlushSectionInternal fffff800`01b3b6b4

The output, in the Command Browser window, is shown in the following image.

Screenshot of .dml-flow output in Command Browser window.

The preceding image shows the code block that contains the target address, fffff800`01b3b6b4. There is only one link (fffff800`01b3b681) at the top of the image. That indicates that there is only one code block from which the current code block can be reached. If you click the link, you will see that code block disassembled, and you will see links that enable you to further explore the code flow graph.

The two links at the bottom of the preceding image indicate that there are two code blocks that can be reached from the current code block.

See also

Debugger Markup Language Commands

uf (Unasemmble Function)