RynthCore as of 2026-09-05 (internal f9abab9)
A snapshot of the working tree for aelrynth.com/git/: the code, build files and public docs. Internal review notes and agent instructions are left out. MIT licensed; see LICENSE. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
commit
68c301dac8
277 changed files with 86286 additions and 0 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