Skip to content

Commit 8ad8714

Browse files
authored
Enable reviews. Added annotations for imagesnap and AVFoundation (#107)
Signed-off-by: Prabhu Subramanian <[email protected]>
1 parent 9fa2f9d commit 8ad8714

File tree

4 files changed

+200
-172
lines changed

4 files changed

+200
-172
lines changed

blint/analysis.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,7 @@ def _process_files(self, f, reports_dir, no_reviews, suggest_fuzzables):
425425
if finding := run_checks(f, metadata):
426426
self.findings += finding
427427
# Perform symbol reviews
428-
if no_reviews:
428+
if not no_reviews:
429429
self.do_review(exe_name, f, metadata)
430430
# Suggest fuzzable targets
431431
if suggest_fuzzables and (fuzzdata := run_prefuzz(metadata)):

blint/data/annotations/review_symbols_macho.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -611,3 +611,31 @@ rules:
611611
- SecPolicyGetTypeID
612612
- SecPolicyCreateWithProperties
613613
- SecPolicyCopyProperties
614+
- id: IMAGE_SNAP_API
615+
title: Image Snap API functions used
616+
summary: Capture Images from iSight and other video sources
617+
description: |
618+
ImageSnap is a Public Domain command-line tool that lets you capture still images from an iSight or other video source.
619+
patterns:
620+
- ImageSnap defaultVideoDevice
621+
- ImageSnap saveSingleSnapshotFrom
622+
- ImageSnap setUpSessionWithDevice
623+
- ImageSnap getReadyToTakePicture
624+
- ImageSnap takeSnapshotWithFilename
625+
- ImageSnap captureSession
626+
- ImageSnap captureDeviceInput
627+
- ImageSnap captureStillImageOutput
628+
- ImageSnap currentImageBuffer
629+
- ImageSnap videoConnection
630+
- id: AVFOUNDATION_API
631+
title: AVFoundation functions used
632+
summary: Work with audiovisual assets, control device cameras, process audio, and configure system audio interactions
633+
description: |
634+
AVFoundation combines several major technology areas that together encompass a wide range of tasks for inspecting, playing, capturing, and processing audiovisual media on Apple platforms.
635+
patterns:
636+
- AVFoundation::_
637+
- AVCaptureSession
638+
- AVMediaTypeMuxed
639+
- AVMediaTypeVideo
640+
- AVVideoCodecJPEG
641+
- AVVideoCodecKey

0 commit comments

Comments
 (0)