Table of Contents

Enum MemoryWalkStop

Namespace
CStructSharp.Memory
Assembly
CStructSharp.dll

Why a MemoryWalker traversal stopped.

public enum MemoryWalkStop

Fields

Complete = 4

Every distinct reachable tree node was visited: normal completion.

NodeLimit = 2

Another distinct node was found but returning it would exceed the configured node limit.

RepeatedNode = 1

The list's link pointed at a data node that was already returned: a corrupt cycle.

Sentinel = 0

The list's link returned to the head node it started from: normal completion.

Unavailable = 3

A callback hit an unmapped address or missing bytes; the result's failure describes where.

Remarks

Only two values mean normal completion: Sentinel for a list that returned to its head and Complete for a tree with no pending children. The others describe bounded partial results and must be presented as such. Revisiting a data node is deliberately distinct from reaching the sentinel, because the first means the image is corrupt and the second means the list ended. Budget exhaustion and cancellation are exceptions, not stop values, so they cannot be mistaken for an ordinary end of traversal.