mirror of
https://github.com/elicpeter/nyx.git
synced 2026-06-21 20:18:06 +02:00
[pitboss] phase 18: Track M.0 — New EntryKind variants: ClassMethod, MessageHandler, ScheduledJob, GraphQLResolver, WebSocket, Middleware, Migration
This commit is contained in:
parent
2b96c6005b
commit
1b2f9cb7ca
16 changed files with 750 additions and 178 deletions
|
|
@ -20,7 +20,7 @@ mod spec_strategies {
|
|||
use nyx_scanner::commands::scan::Diag;
|
||||
use nyx_scanner::dynamic::spec::{
|
||||
derive_from_callgraph_entry, derive_from_func_summary, derive_from_rule_namespace,
|
||||
EntryKind, HarnessSpec, PayloadSlot, SpecDerivationStrategy,
|
||||
EntryKind, EntryKindTag, HarnessSpec, PayloadSlot, SpecDerivationStrategy,
|
||||
};
|
||||
use nyx_scanner::dynamic::verify::{verify_finding, VerifyOptions};
|
||||
use nyx_scanner::evidence::{
|
||||
|
|
@ -360,13 +360,13 @@ mod spec_strategies {
|
|||
hint,
|
||||
}) => {
|
||||
assert_eq!(lang, nyx_scanner::symbol::Lang::C);
|
||||
assert!(matches!(attempted, EntryKind::HttpRoute));
|
||||
assert!(matches!(attempted, EntryKindTag::HttpRoute));
|
||||
assert!(
|
||||
!supported.is_empty(),
|
||||
"supported list must be non-empty so operators can triage"
|
||||
);
|
||||
assert!(
|
||||
supported.contains(&EntryKind::Function),
|
||||
supported.contains(&EntryKindTag::Function),
|
||||
"C emitter must advertise Function support; got {supported:?}"
|
||||
);
|
||||
assert!(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue