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
18
tools/HookResolver.Core/Validation/IValidationRule.cs
Normal file
18
tools/HookResolver.Core/Validation/IValidationRule.cs
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
using RynthCore.HookManifest.Scanning;
|
||||
using RynthCore.HookResolver.Core.Symbols;
|
||||
|
||||
namespace RynthCore.HookResolver.Core.Validation;
|
||||
|
||||
public readonly record struct ValidationContext(
|
||||
AcClientImageView Image,
|
||||
int CandidateRva,
|
||||
int CandidateVa,
|
||||
HookSymbol Symbol);
|
||||
|
||||
public readonly record struct ValidationOutcome(bool Passed, string RuleId, string Detail);
|
||||
|
||||
public interface IValidationRule
|
||||
{
|
||||
string RuleId { get; }
|
||||
ValidationOutcome Evaluate(in ValidationContext ctx);
|
||||
}
|
||||
Loading…
Reference in a new issue