feat: integrate ghidra-cli v0.1

This commit is contained in:
hermes 2026-07-28 20:20:05 +00:00
52 changed files with 6689 additions and 126 deletions

View file

@ -236,7 +236,7 @@ impl AnalysisStore {
profile: &Digest,
lock: &AnalysisLock,
) -> Result<PathBuf, StoreError> {
if !lock.guards(sample, profile) {
if !lock.guards_exclusive(sample, profile) {
return Err(StoreError::new(
StoreErrorKind::AnalysisBusy,
"lock token does not guard the promoted Analysis identity",
@ -267,7 +267,7 @@ impl AnalysisStore {
lock: &AnalysisLock,
rebuild_already_attempted: bool,
) -> Result<QuarantineOutcome, StoreError> {
if !lock.guards(sample, profile) {
if !lock.guards_exclusive(sample, profile) {
return Err(StoreError::new(
StoreErrorKind::AnalysisBusy,
"lock token does not guard the quarantined Analysis identity",