idb is a flexible command line interface for automating iOS simulators and devices
This report presents the forensic synthetic code analysis of facebook/idb, a Swift project with 5,302 GitHub stars. SynthScan v2.0 examined 152,230 lines of code across 1100 source files, recording 509 pattern matches distributed across 14 syntactic categories. The overall adjusted score of 3.8 places this repository in the Likely human-written band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 509 distinct pattern matches across 14 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | idb/grpc/crash.py | 39 | def _to_crash_log_query_proto(query: CrashLogQuery) -> CrashLogQueryProto: | CODE |
| LOW | idb/grpc/dap.py | 132 | async def read_next_dap_protocol_message(stream: StreamReader) -> bytes: | CODE |
| LOW | idb/grpc/xctrace.py | 35 | async def xctrace_drain_until_running( | CODE |
| LOW | idb/grpc/xctrace.py | 67 | def formatted_time_to_seconds(formatted_time: str | None) -> float | None: | CODE |
| LOW | idb/grpc/client.py | 212 | def log_and_handle_exceptions(grpc_method_name: str): # pyre-ignore | CODE |
| LOW | idb/grpc/client.py | 1300 | async def _handle_code_coverage_in_response( | CODE |
| LOW | idb/grpc/xctest.py | 56 | def extract_paths_from_xctestrun(path: str, logger: Logger | None = None) -> list[str]: | CODE |
| LOW | idb/grpc/xctest.py | 262 | def save_activities_attachments(activity: TestActivity, path: str) -> None: | CODE |
| LOW | idb/grpc/xctest.py | 275 | def attachment_to_file_extension(attachment: TestAttachment) -> str: | CODE |
| LOW | idb/grpc/instruments.py | 19 | async def instruments_generate_bytes( | CODE |
| LOW | idb/grpc/instruments.py | 35 | async def instruments_drain_until_running( | CODE |
| LOW | idb/grpc/instruments.py | 50 | async def instruments_drain_until_stop( | CODE |
| LOW | idb/grpc/instruments.py | 68 | def translate_instruments_timings( | CODE |
| LOW | idb/grpc/management.py | 88 | async def _check_domain_socket_is_bound(path: str) -> bool: | CODE |
| LOW | idb/grpc/target.py | 56 | def screen_dimensions_to_grpc(dimensions: ScreenDimensions) -> GrpcScreenDimensions: | CODE |
| LOW | idb/grpc/install.py | 80 | async def _generate_framework_chunks( | CODE |
| LOW | idb/grpc/tests/log_tests.py | 31 | async def test_tail_specific_logs_handles_split_multibyte_at_boundary( | CODE |
| LOW | idb/grpc/tests/target_tests.py | 15 | def test_merge_connected_targets(self) -> None: | CODE |
| LOW | idb/grpc/tests/screenshot_tests.py | 41 | def test_default_options_are_an_empty_request(self) -> None: | CODE |
| LOW | idb/grpc/tests/screenshot_tests.py | 63 | def test_compression_quality_is_carried(self) -> None: | CODE |
| LOW | idb/grpc/tests/screenshot_tests.py | 69 | def test_an_unset_compression_quality_asks_for_the_default(self) -> None: | CODE |
| LOW⚡ | idb/grpc/tests/screenshot_tests.py | 87 | def test_no_crop_captures_the_full_screen(self) -> None: | CODE |
| LOW⚡ | idb/grpc/tests/screenshot_tests.py | 90 | def test_a_scale_factor_is_carried(self) -> None: | CODE |
| LOW⚡ | idb/grpc/tests/screenshot_tests.py | 95 | def test_fit_bounds_are_carried_with_zero_meaning_unbounded(self) -> None: | CODE |
| LOW⚡ | idb/grpc/tests/screenshot_tests.py | 114 | def test_no_scale_is_a_native_capture(self) -> None: | CODE |
| LOW⚡ | idb/grpc/tests/screenshot_tests.py | 117 | def test_a_factor_and_a_bounding_box_together_are_rejected(self) -> None: | CODE |
| LOW⚡ | idb/grpc/tests/screenshot_tests.py | 125 | def test_a_compression_quality_outside_the_range_is_rejected(self) -> None: | CODE |
| LOW | idb/grpc/tests/screenshot_tests.py | 140 | def test_a_fit_bound_below_one_is_rejected(self) -> None: | CODE |
| LOW | idb/grpc/tests/screenshot_tests.py | 152 | def test_the_screenshot_carries_every_measurement(self) -> None: | CODE |
| LOW⚡ | idb/grpc/tests/screenshot_tests.py | 171 | def test_a_screenshot_is_still_bytes(self) -> None: | CODE |
| LOW⚡ | idb/grpc/tests/screenshot_tests.py | 179 | def test_an_unreported_measurement_is_none(self) -> None: | CODE |
| LOW⚡ | idb/grpc/tests/screenshot_tests.py | 188 | def test_the_repr_says_when_a_measurement_is_missing(self) -> None: | CODE |
| LOW | idb/grpc/tests/screenshot_tests.py | 208 | def test_an_old_companion_still_serves_a_default_screenshot(self) -> None: | CODE |
| LOW | idb/grpc/tests/screenshot_tests.py | 219 | def test_an_old_companion_cannot_serve_a_configured_screenshot(self) -> None: | CODE |
| LOW | idb/grpc/tests/screenshot_tests.py | 230 | def test_a_format_the_companion_did_not_encode_is_rejected(self) -> None: | CODE |
| LOW | idb/grpc/tests/xctest_tests.py | 17 | async def test_extract_paths_from_xctestrun(self) -> None: | CODE |
| LOW | idb/grpc/tests/management_tests.py | 62 | def _build_fake_client_factory( | CODE |
| LOW | idb/grpc/tests/management_tests.py | 116 | async def test_returns_targets_when_all_companions_describe_successfully( | CODE |
| LOW | idb/grpc/tests/management_tests.py | 131 | async def test_timeout_with_prune_removes_companion_and_omits_target( | CODE |
| LOW | idb/grpc/tests/management_tests.py | 145 | async def test_timeout_without_prune_keeps_companion(self) -> None: | CODE |
| LOW | idb/grpc/tests/management_tests.py | 157 | async def test_describe_exception_with_prune_removes_companion(self) -> None: | CODE |
| LOW | idb/grpc/tests/management_tests.py | 169 | async def test_partial_success_returns_only_described_targets(self) -> None: | CODE |
| LOW | idb/grpc/tests/xctest_log_parser.py | 27 | def test_ignores_line_missing_class_name(self) -> None: | CODE |
| LOW | idb/grpc/tests/xctest_log_parser.py | 38 | def test_ignores_line_with_mismatched_types(self) -> None: | CODE |
| LOW | idb/grpc/tests/xctest_log_parser.py | 49 | def test_ignores_line_that_is_too_long(self) -> None: | CODE |
| LOW | idb/grpc/tests/xctest_log_parser.py | 61 | def test_ignores_log_lines_outside_test(self) -> None: | CODE |
| LOW | idb/grpc/tests/xctest_log_parser.py | 67 | def test_adds_lines_to_distinct_tests(self) -> None: | CODE |
| LOW | idb/grpc/tests/xctest_log_parser.py | 87 | def test_handles_mismatched_starts(self) -> None: | CODE |
| LOW | idb/grpc/tests/client_metadata_tests.py | 17 | def test_client_resolves_scoped_invocation_metadata(self) -> None: | CODE |
| LOW | idb/cli/main.py | 142 | def get_default_companion_path() -> str | None: | CODE |
| LOW⚡ | idb/cli/tests/parser_tests.py | 793 | async def test_set_preference_forwards_name(self) -> None: | CODE |
| LOW⚡ | idb/cli/tests/parser_tests.py | 800 | async def test_set_preference_with_domain(self) -> None: | CODE |
| LOW⚡ | idb/cli/tests/parser_tests.py | 809 | async def test_set_autofill_passwords(self) -> None: | CODE |
| LOW⚡ | idb/cli/tests/parser_tests.py | 816 | async def test_set_hardware_keyboard_routes_through_generic_preference( | CODE |
| LOW⚡ | idb/cli/tests/parser_tests.py | 825 | async def test_set_locale_routes_through_generic_preference(self) -> None: | CODE |
| LOW⚡ | idb/cli/tests/parser_tests.py | 832 | async def test_get_locale_routes_through_generic_preference(self) -> None: | CODE |
| LOW⚡ | idb/cli/tests/parser_tests.py | 1478 | async def test_screenshot_will_not_put_json_and_an_image_on_stdout(self) -> None: | CODE |
| LOW⚡ | idb/cli/tests/parser_tests.py | 1486 | async def test_accessibility_info_all(self) -> None: | CODE |
| LOW⚡ | idb/cli/tests/parser_tests.py | 1494 | async def test_accessibility_info_all_nested(self) -> None: | CODE |
| LOW⚡ | idb/cli/tests/parser_tests.py | 1502 | async def test_accessibility_info_at_point(self) -> None: | CODE |
| 164 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | project.yml | 1 | # @generated by the idb project.yml generator -- do not edit by hand. | COMMENT |
| LOW | build.sh | 481 | # *.bundle SwiftPM resource bundles (Bundle.module -> Bundle.main) | COMMENT |
| LOW | SimulatorFrameworkBridge/SystemConfigurationPrivate.h | 1 | /* | COMMENT |
| LOW | SimulatorFrameworkBridge/AccessibilityRuntime.m | 421 | bool (*automationEnabled)(void); | COMMENT |
| LOW | SimulatorFrameworkBridge/AccessibilityRuntime.m | 801 | } | COMMENT |
| LOW | SimulatorFrameworkBridge/AccessibilityRuntime.m | 1101 | } | COMMENT |
| LOW | SimulatorFrameworkBridge/AXRuntimePrivate.h | 1 | /* | COMMENT |
| LOW | SimulatorFrameworkBridge/RunningBoardServicesPrivate.h | 1 | /* | COMMENT |
| LOW | SimulatorFrameworkBridge/AXPTranslationPrivate.h | 1 | /* | COMMENT |
| LOW | SimulatorFrameworkBridge/PhotosPrivate.h | 1 | /* | COMMENT |
| LOW | SimulatorFrameworkBridge/AccessibilityService.m | 1 | /* | COMMENT |
| LOW | SimulatorFrameworkBridge/AccessibilityService.m | 61 | // Asks the walk to explain each element the accessibility server reports unreachable, by hit-testing that | COMMENT |
| LOW | SimulatorFrameworkBridge/AccessibilityService.m | 81 | static NSString *const kNodeExplainedBy = @"FBExplainedBy"; | COMMENT |
| LOW | SimulatorFrameworkBridge/AccessibilityService.m | 101 | // which is what distinguishes "this tree is the previous screen" from "this tree happens to look alike". | COMMENT |
| LOW | SimulatorFrameworkBridge/AccessibilityService.m | 121 | static NSString *const kRequestAssertValue = @"assertValue"; | COMMENT |
| LOW | SimulatorFrameworkBridge/AccessibilityService.m | 141 | // rather than about any one application. | COMMENT |
| LOW | SimulatorFrameworkBridge/AccessibilityService.m | 161 | // Reported on every describe rather than only when it changes: a caller cannot otherwise tell a tree read | COMMENT |
| LOW | SimulatorFrameworkBridge/AccessibilityService.m | 221 | COMMENT | |
| LOW | SimulatorFrameworkBridge/AccessibilityService.m | 241 | COMMENT | |
| LOW | SimulatorFrameworkBridge/AccessibilityService.m | 301 | // contract, mirrored host-side by `FBAXWire.Node.defaultFetchList`. | COMMENT |
| LOW | SimulatorFrameworkBridge/AccessibilityService.m | 901 | ); | COMMENT |
| LOW | SimulatorFrameworkBridge/AccessibilityService.m | 1661 | } | COMMENT |
| LOW | SimulatorFrameworkBridge/AccessibilityRuntime.h | 1 | /* | COMMENT |
| LOW | SimulatorFrameworkBridge/AccessibilityRuntime.h | 21 | // | COMMENT |
| LOW | XCTestBootstrap/XCTestBootstrap.h | 1 | /* | COMMENT |
| LOW | XCTestBootstrap/XCTestBootstrap.h | 21 | #import <XCTestBootstrap/XCTestBootstrap-Swift.h> | COMMENT |
| LOW | …rap/TestManager/FBTestManagerAPIMediatorIDEInterface.m | 1 | /* | COMMENT |
| LOW | …rap/TestManager/FBTestManagerAPIMediatorIDEInterface.m | 81 | /// After _XCT_launchProcessWithPath:bundleID:arguments:environmentVariables: is called, | COMMENT |
| LOW | XCTestBootstrap/TestManager/FBRemoteAutomationRuntime.m | 1 | /* | COMMENT |
| LOW | …otstrap/TestManager/FBRemoteAutomationConnection.swift | 41 | COMMENT | |
| LOW | XCTestBootstrap/TestManager/FBTestBundleDTXConnection.m | 21 | #import <DTXConnectionServices/DTXConnection.h> | COMMENT |
| LOW | REPLTests/ReplRunTelemetryTests.swift | 101 | // renaming a case must not silently rename the column value. | COMMENT |
| LOW | idb/utils/contextlib.py | 161 | raise | COMMENT |
| LOW | idb/common/types.py | 181 | # Lossy formats only, in (0, 1]; None means the companion's default. The | COMMENT |
| LOW | idb/common/types.py | 241 | COMMENT | |
| LOW | FBControlCore/FBControlCore.h | 1 | /* | COMMENT |
| LOW | FBControlCore/FBControlCore.h | 21 | #import <FBControlCore/FBProcessBuilder.h> | COMMENT |
| LOW | …trolCore/Configuration/FBScreenshotConfiguration.swift | 81 | COMMENT | |
| LOW | …trolCore/Configuration/FBScreenshotConfiguration.swift | 261 | /// | COMMENT |
| LOW | …trolCore/Configuration/FBScreenshotConfiguration.swift | 361 | throw FBScreenshotGeometryError.fitBoundNotPositive(bound) | COMMENT |
| LOW | FBControlCore/Async/AsyncResourceContext.swift | 1 | /* | COMMENT |
| LOW | FBControlCore/Async/AsyncResourceContext.swift | 21 | /// try await withAsyncResource( | COMMENT |
| LOW | FBControlCore/Async/AsyncPolling.swift | 1 | /* | COMMENT |
| LOW | FBControlCore/Async/AsyncPolling.swift | 41 | } | COMMENT |
| LOW | FBControlCore/Async/AsyncFBFutureBridge.swift | 141 | /// Force-casts an `FBMutableFuture<T>` to its `FBFuture<T>` parent type. | COMMENT |
| LOW | FBControlCore/Async/AsyncFBFutureBridge.swift | 181 | var teardown: FBMutableFuture<AnyObject>? | COMMENT |
| LOW | FBControlCore/Async/AsyncFBFutureBridge.swift | 261 | /// returning `FBFuture<T>` while implementing the work natively in | COMMENT |
| LOW | FBControlCore/Commands/FBAccessibilityResponse.swift | 181 | /// Where the read spent its time, when the backend measured it. | COMMENT |
| LOW | FBControlCore/Commands/FBAccessibilityDocument.swift | 201 | /// node count, and a truncated read never saw the rest of the tree. | COMMENT |
| LOW | FBControlCore/Commands/FBAccessibilityDocument.swift | 261 | /// tree, which cannot see another process compositing on top of it — a system alert or SpringBoard | COMMENT |
| LOW | FBControlCore/Commands/FBAccessibilityDocument.swift | 281 | /// actually read rather than to a heuristic over geometry. | COMMENT |
| LOW | FBControlCore/Commands/FBAccessibilityDocument.swift | 301 | /// | COMMENT |
| LOW | FBControlCore/Commands/FBAccessibilityDocument.swift | 541 | COMMENT | |
| LOW | FBControlCore/Commands/FBAccessibilityDocument.swift | 601 | } | COMMENT |
| LOW | FBControlCore/Commands/FBAccessibilityDocument.swift | 621 | /// Pulling the tree out of the application. | COMMENT |
| LOW | FBControlCore/Commands/FBAccessibilityDocument.swift | 741 | case asserted | COMMENT |
| LOW | FBControlCore/Commands/FBAccessibilityDocument.swift | 801 | /// Not part of the emitted schema and absent from `CodingKeys`: it is an *input* to deciding why an | COMMENT |
| LOW | FBControlCore/Commands/FBAccessibilityKeys.swift | 41 | /// Only the guest lanes are affected. `axIsHittable()` returns nil on the translator lane, which has no | COMMENT |
| LOW | FBControlCore/Commands/FBTargetCommandCache.swift | 1 | /* | COMMENT |
| LOW | …ntrolCore/Commands/FBAccessibilityRequestOptions.swift | 41 | /// case list. | COMMENT |
| 95 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | idb/grpc/crash.py | 8 | CODE | |
| LOW | idb/grpc/dap.py | 12 | CODE | |
| LOW | idb/grpc/xctrace.py | 12 | CODE | |
| LOW | idb/grpc/hid.py | 8 | CODE | |
| LOW | idb/grpc/hid.py | 8 | CODE | |
| LOW | idb/grpc/stream.py | 11 | CODE | |
| LOW | idb/grpc/stream.py | 11 | CODE | |
| LOW | idb/grpc/xctest.py | 12 | CODE | |
| LOW | idb/grpc/xctest.py | 12 | CODE | |
| LOW | idb/grpc/xctest.py | 12 | CODE | |
| LOW | idb/grpc/xctest.py | 12 | CODE | |
| LOW | idb/grpc/instruments.py | 11 | CODE | |
| LOW | idb/grpc/launch.py | 10 | CODE | |
| LOW | idb/grpc/target.py | 10 | CODE | |
| LOW | idb/grpc/install.py | 11 | CODE | |
| LOW | idb/grpc/install.py | 11 | CODE | |
| LOW | idb/grpc/xctest_log_parser.py | 9 | CODE | |
| LOW | idb/grpc/xctest_log_parser.py | 9 | CODE | |
| LOW | idb/grpc/xctest_log_parser.py | 9 | CODE | |
| LOW | idb/utils/contextlib.py | 262 | CODE | |
| LOW | idb/utils/typing.py | 8 | CODE | |
| LOW | idb/cli/main.py | 16 | CODE | |
| LOW | idb/cli/main.py | 16 | CODE | |
| LOW | idb/cli/main.py | 16 | CODE | |
| LOW | idb/cli/commands/approve.py | 9 | CODE | |
| LOW | idb/cli/commands/log.py | 9 | CODE | |
| LOW | idb/cli/commands/log.py | 9 | CODE | |
| LOW | idb/cli/commands/shell.py | 11 | CODE | |
| LOW | idb/cli/commands/xctest.py | 13 | CODE | |
| LOW | idb/cli/commands/xctest.py | 13 | CODE | |
| LOW | idb/cli/commands/revoke.py | 9 | CODE | |
| LOW | idb/cli/commands/file.py | 14 | CODE | |
| LOW | idb/cli/commands/file.py | 14 | CODE | |
| LOW | idb/cli/commands/app.py | 10 | CODE | |
| LOW | idb/cli/commands/target.py | 12 | CODE | |
| LOW | idb/cli/commands/video.py | 10 | CODE | |
| LOW | idb/cli/commands/video.py | 10 | CODE | |
| LOW | idb/common/misc.py | 9 | CODE | |
| LOW | idb/common/command.py | 10 | CODE | |
| LOW | idb/common/command.py | 10 | CODE | |
| LOW | idb/common/command.py | 10 | CODE | |
| LOW | idb/common/companion_set.py | 16 | CODE | |
| LOW | idb/common/companion_set.py | 16 | CODE | |
| LOW | idb/common/tar.py | 15 | CODE | |
| LOW | idb/common/tar.py | 15 | CODE | |
| LOW | idb/common/hid.py | 9 | CODE | |
| LOW | idb/common/hid.py | 9 | CODE | |
| LOW | idb/common/hid.py | 9 | CODE | |
| LOW | idb/common/hid.py | 9 | CODE | |
| LOW | idb/common/format.py | 12 | CODE | |
| LOW | idb/common/format.py | 12 | CODE | |
| LOW | idb/common/format.py | 12 | CODE | |
| LOW | idb/common/format.py | 12 | CODE | |
| LOW | idb/common/types.py | 18 | CODE | |
| LOW | idb/common/types.py | 18 | CODE | |
| LOW | idb/common/types.py | 18 | CODE | |
| LOW | idb/common/networking.py | 13 | CODE | |
| LOW | idb/common/networking.py | 13 | CODE | |
| LOW | idb/common/plugin.py | 8 | CODE | |
| LOW | idb/common/args.py | 10 | CODE | |
| 2 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | build.sh | 40 | # ============================================================================= | COMMENT |
| MEDIUM | build.sh | 42 | # ============================================================================= | COMMENT |
| MEDIUM | build.sh | 262 | # ============================================================================= | COMMENT |
| MEDIUM | build.sh | 264 | # ============================================================================= | COMMENT |
| MEDIUM | build.sh | 343 | # ============================================================================= | COMMENT |
| MEDIUM | build.sh | 345 | # ============================================================================= | COMMENT |
| MEDIUM | build.sh | 603 | # ============================================================================= | COMMENT |
| MEDIUM | build.sh | 605 | # ============================================================================= | COMMENT |
| MEDIUM | build.sh | 651 | # ============================================================================= | COMMENT |
| MEDIUM | build.sh | 653 | # ============================================================================= | COMMENT |
| MEDIUM | build.sh | 722 | # ============================================================================= | COMMENT |
| MEDIUM | build.sh | 724 | # ============================================================================= | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | idb/grpc/client.py | 319 | except Exception as ex: | CODE |
| LOW | idb/grpc/management.py | 68 | except Exception: | CODE |
| LOW | idb/grpc/management.py | 96 | except Exception: | CODE |
| LOW | idb/cli/main.py | 373 | except Exception: | CODE |
| LOW | idb/common/logging.py | 109 | except Exception as ex: | CODE |
| LOW | idb/common/logging.py | 142 | except Exception as ex: | CODE |
| LOW | idb/common/signal.py | 43 | except Exception: | CODE |
| MEDIUM | idb/common/signal.py | 40 | def _close() -> None: | CODE |
| LOW⚡ | idb/common/companion.py | 103 | except Exception as e: | CODE |
| LOW⚡ | idb/common/companion.py | 118 | except Exception as e: | CODE |
| LOW | idb/common/companion.py | 333 | except Exception: | CODE |
| LOW | idb/common/companion.py | 353 | except Exception as e: | CODE |
| LOW | idb/common/plugin.py | 31 | except Exception: | CODE |
| LOW | idb/common/plugin.py | 106 | except Exception: | CODE |
| LOW | idb/common/plugin.py | 118 | except Exception: | CODE |
| LOW | idb/common/plugin.py | 199 | except Exception: | CODE |
| LOW | idb/common/plugin.py | 219 | except Exception: | CODE |
| LOW | idb/common/plugin.py | 240 | except Exception: | CODE |
| MEDIUM | REPL/CLI/ReplRunner.swift | 124 | print("Error: \(error)") | CODE |
| MEDIUM | REPL/CLI/ReplayCommand.swift | 88 | print("Error: \(error)") | STRING |
| MEDIUM | REPL/CLI/ReplayCommand.swift | 91 | print("Error: \(error)") | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | idb/grpc/client.py | 1610 | await self.push( | CODE |
| HIGH | idb/cli/commands/file.py | 282 | return await client.push( | CODE |
| HIGH | idb/cli/commands/file.py | 382 | await client.push( | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | CompanionDiscoveryTests/TestSupport.swift | 0 | #!/bin/bash path="" prev="" for arg in "$@"; do if [ "$prev" = "--grpc-domain-sock" ]; then path="$arg"; fi prev="$arg" | STRING |
| HIGH | CompanionDiscoveryTests/CompanionManagerTests.swift | 0 | #!/bin/bash path="" prev="" for arg in "$@"; do if [ "$prev" = "--grpc-domain-sock" ]; then path="$arg"; fi prev="$arg" | STRING |
| HIGH | CompanionDiscoveryTests/CompanionSpawnerTests.swift | 0 | #!/bin/bash path="" prev="" for arg in "$@"; do if [ "$prev" = "--grpc-domain-sock" ]; then path="$arg"; fi prev="$arg" | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | idb/grpc/client.py | 377 | CODE | |
| LOW | idb/grpc/hid.py | 155 | CODE | |
| LOW | idb/grpc/xctest.py | 56 | CODE | |
| LOW | idb/grpc/management.py | 164 | CODE | |
| LOW | idb/grpc/install.py | 109 | CODE | |
| LOW | idb/utils/contextlib.py | 21 | CODE | |
| LOW | idb/utils/contextlib.py | 191 | CODE | |
| LOW | idb/cli/commands/file.py | 142 | CODE | |
| LOW | idb/common/companion_set.py | 30 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | idb/grpc/tests/log_tests.py | 50 | # Create a mock client with mocked stub | COMMENT |
| MEDIUM | idb/grpc/tests/log_tests.py | 55 | # Create an async iterator for the messages | COMMENT |
| MEDIUM | idb/common/companion_set.py | 61 | # Create the state file | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | idb/common/types.py | 378 | "placeholder": AccessibilitySearchableKey.PLACEHOLDER, | CODE |
| LOW | FBControlCore/Commands/FBAccessibilityDocument.swift | 1119 | put(placeholder, "placeholder") | CODE |
| LOW | FBControlCore/Commands/FBAccessibilityKeys.swift | 32 | case placeholder = "placeholder" | CODE |
| LOW | FBControlCore/Commands/FBAccessibilityKeys.swift | 103 | case placeholder = "placeholder" | CODE |
| LOW | …sts/Tests/Unit/FBAccessibilitySerializationTests.swift | 1096 | for unrequested in ["identifier", "type", "frame", "enabled", "pid", "traits", "placeholder", "is_remote"] { | CODE |
| LOW | …sts/Tests/Unit/FBAccessibilitySerializationTests.swift | 1155 | case .placeholder: return "placeholder" | CODE |
| LOW | …sts/Tests/Unit/FBAccessibilitySerializationTests.swift | 1174 | XCTAssertTrue(try XCTUnwrap(document.first).keys.contains("placeholder")) | CODE |
| LOW | …torControlTests/Tests/Unit/FBAXWireContractTests.swift | 80 | .placeholder: "placeholder", | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | idb/grpc/client.py | 1333 | CODE | |
| LOW | idb/grpc/client.py | 1484 | CODE | |
| LOW | idb/common/types.py | 732 | CODE | |
| LOW | idb/common/types.py | 1015 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | build.sh | 14 | # Check if xattrs are supported on the current filesystem | COMMENT |
| LOW | build.sh | 54 | # Check if ditto is available for xattr-free copying | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | idb/grpc/client.py | 681 | async def set_location(self, latitude: float, longitude: float) -> None: | CODE |
| LOW | idb/common/types.py | 853 | async def set_location(self, latitude: float, longitude: float) -> None: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | idb/utils/contextlib.py | 255 | def helper(*args, **kwds): | CODE |