feat: port aelrynth 2026.9.27.2 snapshot onto GitHub history
Overlay upstream/main (9b5e276) onto BlankenshipG main without rewriting
history. Keep origin-only Decal/plugin/docs trees. Re-apply aelrynth.com
and sibling-fork URL fixes that aelrynth git still has as tombohar links.
Co-authored-by: BlankenshipG <BlankenshipG@users.noreply.github.com>
This commit is contained in:
parent
ac0d743e16
commit
4ddbb52eb2
244 changed files with 59710 additions and 3067 deletions
26
tools/HookResolver.Core/Symbols/HookSymbol.cs
Normal file
26
tools/HookResolver.Core/Symbols/HookSymbol.cs
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
using System.Collections.Generic;
|
||||
using RynthCore.HookResolver.Core.Validation;
|
||||
|
||||
namespace RynthCore.HookResolver.Core.Symbols;
|
||||
|
||||
public enum SymbolAnchor
|
||||
{
|
||||
AnchorOnPrologue,
|
||||
AnchorOnBody,
|
||||
AnchorOnCallSite,
|
||||
AnchorOnStringRef
|
||||
}
|
||||
|
||||
public sealed record PrologueWalkBack(byte[] Prologue, int MaxDistance = 0x100);
|
||||
|
||||
public sealed record HookSymbol
|
||||
{
|
||||
public required string Id { get; init; }
|
||||
public required string PatternId { get; init; }
|
||||
public required byte?[] Pattern { get; init; }
|
||||
public int? FallbackVa { get; init; }
|
||||
public required SymbolAnchor Anchor { get; init; }
|
||||
public PrologueWalkBack? WalkBack { get; init; }
|
||||
public IReadOnlyList<IValidationRule> RequiredRules { get; init; } = [];
|
||||
public IReadOnlyList<IValidationRule> AdvisoryRules { get; init; } = [];
|
||||
}
|
||||
Loading…
Reference in a new issue