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>
18 lines
495 B
C#
18 lines
495 B
C#
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);
|
|
}
|