feat: integrate ghidra-cli v0.1
This commit is contained in:
commit
ffab80a1f2
52 changed files with 6689 additions and 126 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue