Official QEMU mirror. Please see https://www.qemu.org/contribute/ for how to submit changes to QEMU. Pull Requests are disabled. Please only use release tarballs from the QEMU website.
This report summarizes scanner evidence for qemu/qemu, a C project with 13,962 GitHub stars. SynthScan examined 2,680,267 lines of code across 8049 source files, recording 7446 pattern matches distributed across 18 syntactic categories. The legacy adjusted pattern signal is 2.7 (Low pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 7108 finding(s).
Are imports declared and package/API names verified? 177 finding(s).
Are wrappers, guards, and repeated structures necessary? 293 finding(s).
Which changes need focused human review? 7446 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 7446 distinct pattern matches across 18 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. 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 configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | pythondeps.toml | 1 | # This file describes Python package requirements to be | COMMENT |
| LOW | blockdev.c | 41 | #include "monitor/monitor.h" | COMMENT |
| LOW | blockjob.c | 21 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | COMMENT |
| LOW | block.c | 21 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | COMMENT |
| LOW | block.c | 41 | #include "qobject/qnull.h" | COMMENT |
| LOW | qemu-nbd.c | 21 | #include <libgen.h> | COMMENT |
| LOW | qemu-nbd.c | 41 | #include "qobject/qstring.h" | COMMENT |
| LOW | qemu-nbd.c | 61 | #define QEMU_NBD_OPT_CACHE 256 | COMMENT |
| LOW | qemu-img.c | 21 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | COMMENT |
| LOW | qemu-img.c | 41 | #include "qemu/log.h" | COMMENT |
| LOW | qemu-io.c | 21 | #include "qemu-io.h" | COMMENT |
| LOW | os-posix.c | 21 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | COMMENT |
| LOW | .patchew.yml | 1 | --- | COMMENT |
| LOW | .gitlab-ci.yml | 1 | # | COMMENT |
| LOW | qapi/transaction.json | 1 | # -*- Mode: Python -*- | COMMENT |
| LOW | qapi/transaction.json | 21 | COMMENT | |
| LOW | qapi/transaction.json | 41 | ## | COMMENT |
| LOW | qapi/transaction.json | 61 | # | COMMENT |
| LOW | qapi/transaction.json | 81 | { 'name': 'drive-backup', 'features': [ 'deprecated' ] } ] } | COMMENT |
| LOW | qapi/transaction.json | 101 | # | COMMENT |
| LOW | qapi/transaction.json | 121 | 'data': { 'data': 'BlockdevBackup' } } | COMMENT |
| LOW | qapi/transaction.json | 141 | # | COMMENT |
| LOW | qapi/transaction.json | 181 | COMMENT | |
| LOW | qapi/transaction.json | 201 | # If any operation fails, then the entire set of actions will be | COMMENT |
| LOW | qapi/transaction.json | 221 | # support it, for example, qcow2, and rbd, | COMMENT |
| LOW | qapi/transaction.json | 241 | # | COMMENT |
| LOW | qapi/dump.json | 1 | # -*- Mode: Python -*- | COMMENT |
| LOW | qapi/dump.json | 21 | # | COMMENT |
| LOW | qapi/dump.json | 41 | # | COMMENT |
| LOW | qapi/dump.json | 61 | # @paging: if true, do paging to get guest's memory mapping. This | COMMENT |
| LOW | qapi/dump.json | 81 | # string is the file's path. | COMMENT |
| LOW | qapi/dump.json | 101 | # | COMMENT |
| LOW | qapi/dump.json | 121 | # | COMMENT |
| LOW | qapi/dump.json | 141 | # @total: total bytes to be written in latest dump (uncompressed) | COMMENT |
| LOW | qapi/dump.json | 161 | # <- { "return": { "status": "active", "completed": 1024000, | COMMENT |
| LOW | qapi/dump.json | 181 | # "data": { "result": { "total": 1090650112, "status": "completed", | COMMENT |
| LOW | qapi/dump.json | 201 | # Return the available formats for `dump-guest-memory` | COMMENT |
| LOW | qapi/block.json | 1 | # -*- Mode: Python -*- | COMMENT |
| LOW | qapi/block.json | 21 | # translate logical CHS to physical; instead, they will use | COMMENT |
| LOW | qapi/block.json | 41 | # @rechs: Same as @large, but first convert a 16-head geometry to | COMMENT |
| LOW | qapi/block.json | 61 | # @none: No drive connected | COMMENT |
| LOW | qapi/block.json | 81 | { 'struct': 'PRManagerInfo', | COMMENT |
| LOW | qapi/block.json | 101 | # @device: Block device name | COMMENT |
| LOW | qapi/block.json | 121 | # -> { "execute": "eject", "arguments": { "id": "ide1-0-1" } } | COMMENT |
| LOW | qapi/block.json | 141 | # are cases in which no such event will be generated, these include: | COMMENT |
| LOW | qapi/block.json | 161 | # | COMMENT |
| LOW | qapi/block.json | 181 | '*force': 'bool' } } | COMMENT |
| LOW | qapi/block.json | 201 | # Since: 2.5 | COMMENT |
| LOW | qapi/block.json | 221 | ## | COMMENT |
| LOW | qapi/block.json | 241 | # | COMMENT |
| LOW | qapi/block.json | 261 | COMMENT | |
| LOW | qapi/block.json | 281 | # "file": { "driver": "file", | COMMENT |
| LOW | qapi/block.json | 301 | # | COMMENT |
| LOW | qapi/block.json | 321 | # @id: The name or QOM path of the guest device (since: 2.8) | COMMENT |
| LOW | qapi/block.json | 341 | # Since: 2.5 | COMMENT |
| LOW | qapi/block.json | 361 | # <- { "error": | COMMENT |
| LOW | qapi/block.json | 381 | ## | COMMENT |
| LOW | qapi/block.json | 401 | # "id": "/machine/unattached/device[22]", | COMMENT |
| LOW | qapi/block.json | 421 | # | COMMENT |
| LOW | qapi/block.json | 441 | # the whole group. | COMMENT |
| 6724 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | python/qemu/utils/qemu_ga_client.py | 175 | except asyncio.TimeoutError: | CODE |
| HIGH | python/qemu/utils/qemu_ga_client.py | 185 | except asyncio.TimeoutError: | CODE |
| HIGH | python/scripts/mkvenv.py | 562 | except PackageNotFoundError: | CODE |
| HIGH | python/scripts/mkvenv.py | 711 | except PackageNotFoundError: | CODE |
| HIGH | python/scripts/mkvenv.py | 739 | except subprocess.CalledProcessError: | CODE |
| HIGH | tests/tcg/i386/test-mmx.py | 238 | except SkipInstruction: | CODE |
| HIGH | tests/tcg/i386/test-avx.py | 370 | except SkipInstruction: | CODE |
| HIGH | tests/tcg/multiarch/gdbstub/follow-fork-mode-child.py | 19 | except gdb.error: | CODE |
| HIGH | tests/docker/docker.py | 81 | except OSError: | CODE |
| HIGH | tests/docker/docker.py | 69 | except OSError: | CODE |
| HIGH | tests/docker/docker.py | 109 | except IndexError: | CODE |
| HIGH | tests/guest-debug/test_gdbstub.py | 66 | except gdb.error: | CODE |
| HIGH | tests/qemu-iotests/testenv.py | 90 | except UnicodeDecodeError: # binary test? for future. | CODE |
| HIGH | tests/qemu-iotests/iotests.py | 805 | except OSError: | CODE |
| HIGH | tests/qemu-iotests/iotests.py | 1519 | except OSError: | CODE |
| HIGH | tests/qemu-iotests/iotests.py | 1548 | except OSError: | CODE |
| HIGH | tests/qemu-iotests/iotests.py | 489 | except OSError: | CODE |
| HIGH | tests/qemu-iotests/iotests.py | 305 | except json.JSONDecodeError: | CODE |
| HIGH | tests/qemu-iotests/iotests.py | 485 | except OSError: | CODE |
| HIGH | tests/qemu-iotests/iotests.py | 797 | except OSError: | CODE |
| HIGH | tests/qemu-iotests/testrunner.py | 37 | except OSError: | CODE |
| HIGH | tests/migration-stress/guestperf/engine.py | 534 | except: | CODE |
| HIGH | tests/migration-stress/guestperf/engine.py | 538 | except: | CODE |
| HIGH | tests/migration-stress/guestperf/engine.py | 473 | except: | CODE |
| HIGH | tests/image-fuzzer/qcow2/fuzz.py | 147 | except ValueError: | CODE |
| HIGH | tests/functional/qemu_test/testcase.py | 338 | except Exception: | CODE |
| HIGH | tests/functional/generic/test_monitor_hotplug.py | 269 | except (ConnectionResetError, EOFError, BrokenPipeError): | CODE |
| HIGH | tests/functional/x86_64/test_vhost_vsock_cpr.py | 139 | except QMP_GONE: | CODE |
| HIGH | tests/functional/x86_64/test_vhost_vsock_cpr.py | 281 | except QMP_GONE: | CODE |
| HIGH | tests/functional/x86_64/test_vhost_vsock_cpr.py | 336 | except QMP_GONE: | CODE |
| HIGH | docs/conf.py | 105 | except: | CODE |
| HIGH | docs/sphinx/dbusdomain.py | 378 | except ValueError: | CODE |
| HIGH | scripts/decodetree.py | 523 | except KeyError: | CODE |
| HIGH | scripts/mtest2make.py | 47 | except: | CODE |
| HIGH | scripts/analyze-migration.py | 32 | except OSError: | CODE |
| HIGH | scripts/qmp_helper.py | 238 | except ValueError: | CODE |
| HIGH | scripts/tracetool/__init__.py | 584 | except ValueError: | CODE |
| HIGH | scripts/qemugdb/coroutine.py | 213 | except OSError: # in case subprocess exits and we get EBADF on read() | CODE |
| HIGH | scripts/qemugdb/coroutine.py | 218 | except OSError: # in case we get EBADF on close() | CODE |
| HIGH | scripts/lib/kdoc/kdoc_output.py | 592 | except ValueError: | CODE |
| HIGH | scripts/simplebench/bench_prealloc.py | 50 | except OSError: | CODE |
| HIGH | scripts/simplebench/bench_block_job.py | 108 | except OSError: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | .gitlab-ci.yml | 14 | # ---------------------------------------------------------------------- | COMMENT |
| MEDIUM | qapi/block.json | 14 | # =================================== | COMMENT |
| MEDIUM | qapi/block-export.json | 6 | # ==================== | COMMENT |
| MEDIUM | qapi/block-core.json | 6 | # ========================= | COMMENT |
| MEDIUM | tests/qapi-schema/doc-good.json | 22 | # ========== | COMMENT |
| MEDIUM | tests/qapi-schema/doc-good.json | 150 | # ================== | COMMENT |
| MEDIUM | docs/config/mach-virt-serial.cfg | 2 | # ========================================================= | COMMENT |
| MEDIUM | docs/config/mach-virt-serial.cfg | 19 | # --------------------------------------------------------- | COMMENT |
| MEDIUM | docs/config/mach-virt-serial.cfg | 49 | # ========================================================= | COMMENT |
| MEDIUM | docs/config/mach-virt-serial.cfg | 75 | # ========================================================= | COMMENT |
| MEDIUM | docs/config/mach-virt-serial.cfg | 122 | # ========================================================= | COMMENT |
| MEDIUM | docs/config/mach-virt-serial.cfg | 188 | # ========================================================= | COMMENT |
| MEDIUM | docs/config/mach-virt-serial.cfg | 231 | # ========================================================= | COMMENT |
| MEDIUM | docs/config/q35-virtio-serial.cfg | 2 | # ========================================================= | COMMENT |
| MEDIUM | docs/config/q35-virtio-serial.cfg | 18 | # --------------------------------------------------------- | COMMENT |
| MEDIUM | docs/config/q35-virtio-serial.cfg | 52 | # ========================================================= | COMMENT |
| MEDIUM | docs/config/q35-virtio-serial.cfg | 72 | # ========================================================= | COMMENT |
| MEDIUM | docs/config/q35-virtio-serial.cfg | 138 | # ========================================================= | COMMENT |
| MEDIUM | docs/config/q35-virtio-serial.cfg | 181 | # ========================================================= | COMMENT |
| MEDIUM | docs/config/q35-virtio-graphical.cfg | 2 | # ========================================================= | COMMENT |
| MEDIUM | docs/config/q35-virtio-graphical.cfg | 17 | # --------------------------------------------------------- | COMMENT |
| MEDIUM | docs/config/q35-virtio-graphical.cfg | 47 | # ========================================================= | COMMENT |
| MEDIUM | docs/config/q35-virtio-graphical.cfg | 67 | # ========================================================= | COMMENT |
| MEDIUM | docs/config/q35-virtio-graphical.cfg | 133 | # ========================================================= | COMMENT |
| MEDIUM | docs/config/q35-virtio-graphical.cfg | 176 | # ========================================================= | COMMENT |
| MEDIUM | docs/config/q35-virtio-graphical.cfg | 194 | # ========================================================= | COMMENT |
| MEDIUM | docs/config/q35-virtio-graphical.cfg | 212 | # ========================================================= | COMMENT |
| MEDIUM | docs/config/q35-virtio-graphical.cfg | 236 | # ========================================================= | COMMENT |
| MEDIUM | docs/config/mach-virt-graphical.cfg | 2 | # ========================================================= | COMMENT |
| MEDIUM | docs/config/mach-virt-graphical.cfg | 18 | # --------------------------------------------------------- | COMMENT |
| MEDIUM | docs/config/mach-virt-graphical.cfg | 43 | # ========================================================= | COMMENT |
| MEDIUM | docs/config/mach-virt-graphical.cfg | 69 | # ========================================================= | COMMENT |
| MEDIUM | docs/config/mach-virt-graphical.cfg | 116 | # ========================================================= | COMMENT |
| MEDIUM | docs/config/mach-virt-graphical.cfg | 182 | # ========================================================= | COMMENT |
| MEDIUM | docs/config/mach-virt-graphical.cfg | 225 | # ========================================================= | COMMENT |
| MEDIUM | docs/config/mach-virt-graphical.cfg | 243 | # ========================================================= | COMMENT |
| MEDIUM | docs/config/mach-virt-graphical.cfg | 264 | # ========================================================= | COMMENT |
| MEDIUM | docs/config/q35-emulated.cfg | 2 | # ========================================================= | COMMENT |
| MEDIUM | docs/config/q35-emulated.cfg | 17 | # --------------------------------------------------------- | COMMENT |
| MEDIUM | docs/config/q35-emulated.cfg | 49 | # ========================================================= | COMMENT |
| MEDIUM | docs/config/q35-emulated.cfg | 73 | # ========================================================= | COMMENT |
| MEDIUM | docs/config/q35-emulated.cfg | 113 | # ========================================================= | COMMENT |
| MEDIUM | docs/config/q35-emulated.cfg | 127 | # ========================================================= | COMMENT |
| MEDIUM | docs/config/q35-emulated.cfg | 165 | # ========================================================= | COMMENT |
| MEDIUM | docs/config/q35-emulated.cfg | 201 | # ========================================================= | COMMENT |
| MEDIUM | docs/config/q35-emulated.cfg | 237 | # ========================================================= | COMMENT |
| MEDIUM | docs/config/q35-emulated.cfg | 255 | # ========================================================= | COMMENT |
| MEDIUM | docs/config/q35-emulated.cfg | 277 | # ========================================================= | COMMENT |
| MEDIUM | scripts/minikconf.py | 51 | # ------------------------------------------- | COMMENT |
| MEDIUM | scripts/minikconf.py | 59 | # ------------------------------------------- | COMMENT |
| MEDIUM | scripts/minikconf.py | 331 | # ------------------------------------------- | COMMENT |
| MEDIUM | scripts/minikconf.py | 334 | # ------------------------------------------- | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | python/tests/linters.py | 3 | CODE | |
| LOW | python/qemu/utils/__init__.py | 26 | CODE | |
| LOW | python/qemu/utils/__init__.py | 26 | CODE | |
| LOW | python/qemu/utils/__init__.py | 26 | CODE | |
| LOW | python/qemu/utils/__init__.py | 26 | CODE | |
| LOW | python/qemu/machine/__init__.py | 28 | CODE | |
| LOW | python/qemu/machine/__init__.py | 29 | CODE | |
| LOW | python/qemu/machine/__init__.py | 29 | CODE | |
| LOW | python/scripts/mkvenv.py | 130 | CODE | |
| LOW | python/scripts/mkvenv.py | 131 | CODE | |
| LOW | python/scripts/mkvenv.py | 104 | CODE | |
| LOW | python/scripts/mkvenv.py | 118 | CODE | |
| LOW | target/hexagon/gen_analyze_funcs.py | 20 | CODE | |
| LOW | target/hexagon/gen_analyze_funcs.py | 21 | CODE | |
| LOW | target/hexagon/gen_analyze_funcs.py | 22 | CODE | |
| LOW | target/hexagon/gen_trans_funcs.py | 20 | CODE | |
| LOW | target/hexagon/gen_helper_funcs.py | 20 | CODE | |
| LOW | target/hexagon/gen_helper_funcs.py | 21 | CODE | |
| LOW | target/hexagon/gen_helper_funcs.py | 22 | CODE | |
| LOW | target/hexagon/gen_printinsn.py | 20 | CODE | |
| LOW | target/hexagon/gen_opcodes_def.py | 20 | CODE | |
| LOW | target/hexagon/gen_opcodes_def.py | 21 | CODE | |
| LOW | target/hexagon/gen_opcodes_def.py | 22 | CODE | |
| LOW | target/hexagon/hex_common.py | 20 | CODE | |
| LOW | target/hexagon/hex_common.py | 22 | CODE | |
| LOW | target/hexagon/gen_idef_parser_funcs.py | 20 | CODE | |
| LOW | target/hexagon/gen_idef_parser_funcs.py | 21 | CODE | |
| LOW | target/hexagon/gen_idef_parser_funcs.py | 22 | CODE | |
| LOW | target/hexagon/gen_idef_parser_funcs.py | 24 | CODE | |
| LOW | target/hexagon/gen_helper_protos.py | 20 | CODE | |
| LOW | target/hexagon/gen_helper_protos.py | 21 | CODE | |
| LOW | target/hexagon/gen_helper_protos.py | 22 | CODE | |
| LOW | target/hexagon/gen_tcg_funcs.py | 20 | CODE | |
| LOW | target/hexagon/gen_tcg_funcs.py | 21 | CODE | |
| LOW | target/hexagon/gen_tcg_funcs.py | 22 | CODE | |
| LOW | target/hexagon/gen_op_attribs.py | 20 | CODE | |
| LOW | target/hexagon/gen_op_attribs.py | 21 | CODE | |
| LOW | target/hexagon/gen_op_attribs.py | 22 | CODE | |
| LOW | target/hexagon/gen_decodetree.py | 20 | CODE | |
| LOW | target/hexagon/gen_decodetree.py | 24 | CODE | |
| LOW | tests/tcg/multiarch/gdbstub/memory.py | 10 | CODE | |
| LOW | tests/docker/docker.py | 22 | CODE | |
| LOW | tests/docker/docker.py | 30 | CODE | |
| LOW | tests/docker/docker.py | 30 | CODE | |
| LOW | tests/qemu-iotests/qed.py | 16 | CODE | |
| LOW | tests/image-fuzzer/qcow2/__init__.py | 1 | CODE | |
| LOW | tests/functional/reverse_debugging.py | 15 | CODE | |
| LOW | tests/functional/replay_kernel.py | 12 | CODE | |
| LOW | tests/functional/ppc64/test_migration.py | 7 | CODE | |
| LOW | tests/functional/ppc64/test_fadump.py | 5 | CODE | |
| LOW | tests/functional/qemu_test/__init__.py | 9 | CODE | |
| LOW | tests/functional/qemu_test/__init__.py | 10 | CODE | |
| LOW | tests/functional/qemu_test/__init__.py | 10 | CODE | |
| LOW | tests/functional/qemu_test/__init__.py | 11 | CODE | |
| LOW | tests/functional/qemu_test/__init__.py | 11 | CODE | |
| LOW | tests/functional/qemu_test/__init__.py | 11 | CODE | |
| LOW | tests/functional/qemu_test/__init__.py | 11 | CODE | |
| LOW | tests/functional/qemu_test/__init__.py | 11 | CODE | |
| LOW | tests/functional/qemu_test/__init__.py | 11 | CODE | |
| LOW | tests/functional/qemu_test/__init__.py | 11 | CODE | |
| 97 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | python/qemu/utils/qemu_ga_client.py | 127 | CODE | |
| LOW | python/qemu/utils/qom.py | 226 | CODE | |
| LOW | python/qemu/machine/machine.py | 312 | CODE | |
| LOW | python/qemu/machine/machine.py | 784 | CODE | |
| LOW | target/hexagon/gen_trans_funcs.py | 78 | CODE | |
| LOW | target/hexagon/gen_printinsn.py | 42 | CODE | |
| LOW | target/hexagon/gen_printinsn.py | 100 | CODE | |
| LOW | roms/edk2-build.py | 189 | CODE | |
| LOW | roms/edk2-build.py | 342 | CODE | |
| LOW | tests/tcg/i386/test-mmx.py | 32 | CODE | |
| LOW | tests/tcg/i386/test-mmx.py | 43 | CODE | |
| LOW | tests/tcg/i386/test-mmx.py | 122 | CODE | |
| LOW | tests/tcg/i386/test-mmx.py | 218 | CODE | |
| LOW | tests/tcg/i386/test-mmx.py | 168 | CODE | |
| LOW | tests/tcg/i386/test-avx.py | 65 | CODE | |
| LOW | tests/tcg/i386/test-avx.py | 76 | CODE | |
| LOW | tests/tcg/i386/test-avx.py | 183 | CODE | |
| LOW | tests/tcg/i386/test-avx.py | 351 | CODE | |
| LOW | tests/tcg/i386/test-avx.py | 248 | CODE | |
| LOW | tests/tcg/multiarch/system/validate-memory-counts.py | 16 | CODE | |
| LOW | tests/tcg/multiarch/gdbstub/registers.py | 80 | CODE | |
| LOW | tests/tcg/multiarch/gdbstub/registers.py | 141 | CODE | |
| LOW | tests/tcg/aarch64/gdbstub/test-sme.py | 54 | CODE | |
| LOW | tests/docker/docker.py | 94 | CODE | |
| LOW | tests/docker/docker.py | 419 | CODE | |
| LOW | tests/docker/docker.py | 509 | CODE | |
| LOW | tests/qemu-iotests/nbd-fault-injector.py | 174 | CODE | |
| LOW | tests/qemu-iotests/iotests.py | 517 | CODE | |
| LOW | tests/qemu-iotests/iotests.py | 1011 | CODE | |
| LOW | tests/qemu-iotests/iotests.py | 1295 | CODE | |
| LOW | tests/qemu-iotests/iotests.py | 1319 | CODE | |
| LOW | tests/qemu-iotests/iotests.py | 1365 | CODE | |
| LOW | tests/qemu-iotests/findtests.py | 42 | CODE | |
| LOW | tests/qemu-iotests/testrunner.py | 157 | CODE | |
| LOW | tests/qemu-iotests/testrunner.py | 379 | CODE | |
| LOW | tests/qemu-iotests/qcow2.py | 139 | CODE | |
| LOW | tests/migration-stress/guestperf/shell.py | 215 | CODE | |
| LOW | tests/migration-stress/guestperf/engine.py | 120 | CODE | |
| LOW | tests/migration-stress/guestperf/engine.py | 458 | CODE | |
| LOW | tests/vm/basevm.py | 95 | CODE | |
| LOW | tests/image-fuzzer/qcow2/layout.py | 468 | CODE | |
| LOW | tests/functional/qemu_test/testcase.py | 316 | CODE | |
| LOW | tests/functional/qemu_test/asset.py | 136 | CODE | |
| LOW | tests/functional/qemu_test/asset.py | 249 | CODE | |
| LOW | tests/functional/qemu_test/archive.py | 75 | CODE | |
| LOW | tests/functional/qemu_test/archive.py | 102 | CODE | |
| LOW | tests/functional/generic/test_linters.py | 19 | CODE | |
| LOW | tests/functional/aarch64/test_virt_gpu.py | 33 | CODE | |
| LOW | tests/functional/aarch64/test_virt_vbsa.py | 128 | CODE | |
| LOW | docs/sphinx/dbusparser.py | 138 | CODE | |
| LOW | docs/sphinx/dbusparser.py | 202 | CODE | |
| LOW | docs/sphinx/hxtool.py | 92 | CODE | |
| LOW | docs/sphinx/qapidoc.py | 362 | CODE | |
| LOW | docs/sphinx/dbusdomain.py | 138 | CODE | |
| LOW | docs/sphinx/qapi_domain.py | 865 | CODE | |
| LOW | docs/sphinx/kerneldoc.py | 62 | CODE | |
| LOW | scripts/replay-dump.py | 411 | CODE | |
| LOW | scripts/decodetree.py | 861 | CODE | |
| LOW | scripts/decodetree.py | 1043 | CODE | |
| LOW | scripts/decodetree.py | 1228 | CODE | |
| 67 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | python/qemu/utils/__init__.py | 45 | def get_info_usernet_hostfwd_port(info_usernet_output: str) -> Optional[int]: | CODE |
| LOW | python/scripts/mkvenv.py | 841 | def _add_post_init_subcommand(subparsers: Any) -> None: | CODE |
| LOW | python/scripts/mkvenv.py | 845 | def _add_ensuregroup_subcommand(subparsers: Any) -> None: | CODE |
| LOW | target/hexagon/hex_common.py | 347 | def read_idef_parser_enabled_file(name): | CODE |
| LOW | tests/tcg/multiarch/gdbstub/prot-none.py | 23 | def probe_proc_self_mem_access_prot_none(): | CODE |
| LOW | tests/tcg/aarch64/gdbstub/test-sme.py | 30 | def run_basic_sme_za_gdbstub_support_test(): | CODE |
| LOW | tests/tcg/aarch64/gdbstub/test-sme.py | 54 | def run_basic_sme_za_tile_slice_gdbstub_support_test(): | CODE |
| LOW | tests/docker/docker.py | 269 | def get_image_dockerfile_checksum(self, tag): | CODE |
| LOW | tests/qemu-iotests/iotests.py | 154 | def qemu_tool_pipe_and_status(tool: str, args: Sequence[str], | CODE |
| LOW | tests/qemu-iotests/iotests.py | 171 | def qemu_img_create_prepare_args(args: List[str]) -> List[str]: | CODE |
| LOW | tests/qemu-iotests/iotests.py | 665 | def filter_generated_node_ids(msg): | CODE |
| LOW | tests/qemu-iotests/iotests.py | 668 | def filter_qmp_generated_node_ids(qmsg): | CODE |
| LOW | tests/qemu-iotests/iotests.py | 1268 | def assert_no_active_block_jobs(self): | CODE |
| LOW | tests/qemu-iotests/iotests.py | 1286 | def assert_json_filename_equal(self, json_filename, reference): | CODE |
| LOW | tests/qemu-iotests/iotests.py | 1477 | def verify_virtio_scsi_pci_or_ccw() -> None: | CODE |
| LOW | tests/qemu-iotests/qcow2_format.py | 204 | def bitmap_dir_entry_raw_size(self): | CODE |
| LOW | tests/qemu-iotests/fat16.py | 337 | def next_free_cluster_non_continuous(self) -> int: | CODE |
| LOW | tests/migration-stress/guestperf/plot.py | 118 | def _get_total_guest_cpu_graph(self, report, starttime): | CODE |
| LOW | tests/migration-stress/guestperf/plot.py | 150 | def _get_split_guest_cpu_graphs(self, report, starttime): | CODE |
| LOW | tests/migration-stress/guestperf/plot.py | 194 | def _get_migration_iters_graph(self, report, starttime): | CODE |
| LOW | tests/vm/basevm.py | 510 | def get_qemu_packages_from_lcitool_json(self, json_path=None): | CODE |
| LOW | tests/vm/aarch64vm.py | 46 | def aarch_get_config_defaults(vmcls): | CODE |
| LOW | tests/image-fuzzer/qcow2/layout.py | 211 | def create_feature_name_table(self): | CODE |
| LOW | tests/image-fuzzer/qcow2/layout.py | 259 | def set_end_of_extension_area(self): | CODE |
| LOW | tests/image-fuzzer/qcow2/layout.py | 336 | def create_refcount_structures(self): | CODE |
| LOW | tests/functional/aspeed.py | 10 | def do_test_arm_aspeed_openbmc(self, machine, image, uboot='2019.04', | CODE |
| LOW | tests/functional/aspeed.py | 32 | def do_test_arm_aspeed_buildroot_start(self, image, cpu_id, pattern='Aspeed EVB'): | CODE |
| LOW | tests/functional/aspeed.py | 49 | def do_test_arm_aspeed_buildroot_poweroff(self): | CODE |
| LOW | tests/functional/aspeed.py | 53 | def do_test_arm_aspeed_sdk_start(self, image): | CODE |
| LOW | tests/functional/migration.py | 86 | def migration_with_tcp_localhost_vms(self, dst_vm, src_vm): | CODE |
| LOW | tests/functional/migration.py | 91 | def migration_with_tcp_localhost(self): | CODE |
| LOW | tests/functional/m68k/test_nextcube.py | 26 | def check_bootrom_framebuffer(self, screenshot_path): | CODE |
| LOW | tests/functional/m68k/test_nextcube.py | 52 | def test_bootrom_framebuffer_size(self): | CODE |
| LOW | tests/functional/m68k/test_nextcube.py | 64 | def test_bootrom_framebuffer_ocr_with_tesseract(self): | CODE |
| LOW | tests/functional/ppc64/test_migration.py | 13 | def test_migration_with_tcp_localhost(self): | CODE |
| LOW | tests/functional/ppc64/test_powernv.py | 36 | def shell_exec_command_check_fail(self, command): | CODE |
| LOW | tests/functional/ppc64/test_powernv.py | 91 | def test_linux_remote_interrupts(self): | CODE |
| LOW | tests/functional/qemu_test/linuxkernel.py | 25 | def wait_for_regex_console_pattern(self, success_pattern, | CODE |
| LOW | tests/functional/qemu_test/cmd.py | 30 | def is_readable_executable_file(path): | CODE |
| LOW | tests/functional/qemu_test/cmd.py | 52 | def _console_read_line_until_match(test, vm, success, failure): | CODE |
| LOW | tests/functional/qemu_test/cmd.py | 145 | def interrupt_interactive_console_until_pattern(test, success_message, | CODE |
| LOW | tests/functional/qemu_test/cmd.py | 209 | def exec_command_and_wait_for_pattern(test, command, | CODE |
| LOW | tests/functional/riscv64/test_endianness.py | 41 | def test_bare_metal_littleendian(self): | CODE |
| LOW | tests/functional/riscv64/test_endianness.py | 48 | def test_bare_metal_bigendian(self): | CODE |
| LOW⚡ | tests/functional/riscv64/test_boston.py | 63 | def test_boston_boot_linux_min_cpus(self): | CODE |
| LOW⚡ | tests/functional/riscv64/test_boston.py | 69 | def test_boston_boot_linux_max_cpus(self): | CODE |
| LOW⚡ | tests/functional/riscv64/test_boston.py | 75 | def test_boston_invalid_cpu_count(self): | CODE |
| LOW | tests/functional/riscv64/test_migration.py | 12 | def test_migration_with_tcp_localhost(self): | CODE |
| LOW | tests/functional/s390x/test_secure_ipl.py | 48 | def _require_host_secure_ipl_support(self, vm): | CODE |
| LOW | tests/functional/i386/test_migration.py | 12 | def test_migration_with_tcp_localhost(self): | CODE |
| LOW | tests/functional/ppc/test_40p.py | 39 | def test_factory_firmware_and_netbsd(self): | CODE |
| LOW | tests/functional/ppc/test_migration.py | 12 | def test_migration_with_tcp_localhost(self): | CODE |
| LOW | tests/functional/mips/test_replay.py | 42 | def test_replay_mips_malta_cpio(self): | CODE |
| LOW | tests/functional/riscv32/test_migration.py | 12 | def test_migration_with_tcp_localhost(self): | CODE |
| LOW | tests/functional/sparc64/test_migration.py | 12 | def test_migration_with_tcp_localhost(self): | CODE |
| LOW | tests/functional/generic/test_vnc.py | 33 | def test_no_vnc_change_password(self): | CODE |
| LOW | tests/functional/generic/test_vnc.py | 65 | def test_change_password_requires_a_password(self): | CODE |
| LOW | tests/functional/generic/test_monitor_hotplug.py | 219 | def test_events_after_negotiation(self): | CODE |
| LOW | tests/functional/arm/test_migration.py | 12 | def test_migration_with_tcp_localhost(self): | CODE |
| LOW | tests/functional/arm/test_cubieboard.py | 37 | def test_arm_cubieboard_initrd(self): | CODE |
| 57 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | qapi/block-core.json | 2401 | # Create a dirty bitmap with a name on the node, and start | COMMENT |
| MEDIUM | qapi/machine.json | 476 | # Create a guest NUMA node. (for OptsVisitor) | COMMENT |
| MEDIUM | qapi/machine.json | 528 | # Create a CXL Fixed Memory Window | COMMENT |
| MEDIUM | qapi/net.json | 80 | # Create a new Network Interface Card. | COMMENT |
| MEDIUM | qapi/qom.json | 1397 | # Create a QOM object. | COMMENT |
| MEDIUM | .gitlab-ci.d/qemu-project.yml | 1 | # This file contains the set of jobs run by the QEMU project: | COMMENT |
| MEDIUM | .gitlab-ci.d/check-units.py | 41 | # Create a sorted list by number of rebuilds | COMMENT |
| MEDIUM | tests/docker/docker.py | 428 | # Create a docker context directory for the build | COMMENT |
| MEDIUM | tests/docker/docker.py | 510 | # Create a temporary tarball with our whole build context and | COMMENT |
| MEDIUM | tests/docker/docker.py | 515 | # Create a Docker buildfile | COMMENT |
| MEDIUM | tests/qapi-schema/qapi-schema-test.json | 4 | # This file is a stress test of supported qapi constructs that must | COMMENT |
| MEDIUM | tests/functional/ppc64/test_tuxrun.py | 71 | # Create a temporary qcow2 and launch the test-case | COMMENT |
| MEDIUM | docs/conf.py | 18 | # This file is execfile()d with the current directory set to its | COMMENT |
| MEDIUM | scripts/meson-buildoptions.sh | 1 | # This file is generated by meson-buildoptions.py, do not edit! | COMMENT |
| MEDIUM | scripts/meson-buildoptions.py | 262 | print("# This file is generated by meson-buildoptions.py, do not edit!") | CODE |
| MEDIUM | scripts/qemugdb/coroutine.py | 190 | # Create a PTY pair | COMMENT |
| MEDIUM | scripts/performance/dissect.py | 15 | # This file is a part of the project "TCG Continuous Benchmarking". | COMMENT |
| MEDIUM | scripts/performance/topN_perf.py | 16 | # This file is a part of the project "TCG Continuous Benchmarking". | COMMENT |
| MEDIUM | scripts/performance/topN_callgrind.py | 16 | # This file is a part of the project "TCG Continuous Benchmarking". | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | python/qemu/machine/machine.py | 416 | except Exception as err: # pylint: disable=broad-except | CODE |
| LOW | python/qemu/machine/machine.py | 638 | except Exception as exc: | CODE |
| LOW | tests/tcg/i386/test-mmx.py | 165 | except Exception as e: | CODE |
| LOW | tests/tcg/i386/test-avx.py | 245 | except Exception as e: | CODE |
| LOW | tests/tcg/multiarch/gdbstub/prot-none.py | 39 | except Exception as e: | CODE |
| LOW | tests/tcg/multiarch/gdbstub/prot-none.py | 47 | except Exception as e: | CODE |
| LOW | tests/docker/docker.py | 327 | except Exception: | CODE |
| LOW | tests/docker/docker.py | 598 | except Exception: | CODE |
| MEDIUM | tests/docker/docker.py | 247 | def _output(self, cmd, **kwargs): | CODE |
| MEDIUM | tests/docker/docker.py | 594 | def run(self, args, argv): | CODE |
| LOW | tests/tracetool/tracetool-test.py | 85 | except Exception as e: | CODE |
| LOW | tests/migration-stress/guestperf/shell.py | 198 | except Exception as e: | CODE |
| MEDIUM | tests/migration-stress/guestperf/shell.py | 199 | print("Error: %s" % str(e), file=sys.stderr) | CODE |
| LOW | tests/migration-stress/guestperf/shell.py | 245 | except Exception as e: | CODE |
| MEDIUM | tests/migration-stress/guestperf/shell.py | 246 | print("Error: %s" % str(e), file=sys.stderr) | CODE |
| LOW | tests/migration-stress/guestperf/engine.py | 529 | except Exception as e: | CODE |
| LOW | tests/vm/basevm.py | 672 | except Exception as e: | CODE |
| MEDIUM | tests/vm/basevm.py | 640 | def main(vmcls, config=None): | CODE |
| MEDIUM | tests/image-fuzzer/runner.py | 161 | print("Error: The working directory '%s' cannot be used. Reason: %s"\ | CODE |
| MEDIUM | tests/image-fuzzer/runner.py | 359 | print("Error: %s\n\nTry 'runner.py --help' for more information" % e, file=sys.stderr) | CODE |
| MEDIUM | tests/image-fuzzer/runner.py | 376 | print("Error: JSON array of test commands cannot be loaded.\n" \ | CODE |
| MEDIUM | tests/image-fuzzer/runner.py | 391 | print("Error: JSON array with the fuzzer configuration cannot" \ | CODE |
| MEDIUM | tests/image-fuzzer/runner.py | 413 | print("Error: The image generator '%s' cannot be imported.\n" \ | CODE |
| LOW | tests/functional/reverse_debugging.py | 113 | except Exception: | CODE |
| LOW | tests/functional/qemu_test/testcase.py | 338 | except Exception: | CODE |
| LOW | tests/functional/qemu_test/testcase.py | 446 | except Exception as ex: | CODE |
| LOW | tests/functional/qemu_test/asset.py | 195 | except Exception as e: | CODE |
| LOW | tests/functional/ppc/test_ppe42.py | 28 | except Exception as err: | CODE |
| LOW | tests/functional/ppc/test_ppe42.py | 54 | except Exception as err: | CODE |
| LOW | tests/functional/x86_64/test_acpi_bits.py | 235 | except Exception as e: # pylint: disable=broad-except | CODE |
| LOW | docs/sphinx/kerneldoc.py | 141 | except Exception as e: # pylint: disable=W0703 | CODE |
| LOW | scripts/replay-dump.py | 447 | except Exception as inst: | CODE |
| LOW | scripts/dump-guest-memory.py | 21 | except Exception as inst: | CODE |
| LOW | scripts/analyze-migration.py | 826 | except Exception: | CODE |
| LOW | scripts/qmp_helper.py | 337 | except Exception as e: # pylint: disable=W0718 | CODE |
| MEDIUM | scripts/qmp_helper.py | 540 | print("Error injected.") | CODE |
| LOW | scripts/qapi/main.py | 38 | except Exception as ex: | CODE |
| LOW | scripts/qapi/main.py | 49 | except Exception as ex: | CODE |
| LOW | scripts/simplebench/bench_prealloc.py | 40 | except Exception: | CODE |
| LOW | scripts/simplebench/img_bench_templater.py | 42 | except Exception: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | tests/docker/docker.py | 551 | df.write("RUN id %s 2>/dev/null || useradd -u %d -U %s" % | CODE |
| HIGH | tests/functional/s390x/test_ccw_virtio.py | 62 | exec_command_and_wait_for_pattern(self, 'dmesg -c > /dev/null; ' | CODE |
| HIGH | tests/functional/s390x/test_topology.py | 244 | "done' && echo succ''ess || echo fail''ure", | CODE |
| HIGH | tests/functional/x86_64/test_nvme_migration.py | 43 | f"{command} && echo OK || echo FAIL", | CODE |
| HIGH | scripts/qapi/visit.py | 197 | if (!ok && visit_is_input(v)) { | CODE |
| HIGH | scripts/qapi/visit.py | 288 | if (!ok && visit_is_input(v)) { | CODE |
| HIGH | scripts/qapi/visit.py | 323 | if (!ok && visit_is_input(v)) { | CODE |
| HIGH | scripts/tracetool/format/rs.py | 30 | ' (unsafe { trace_events_enabled_count }) != 0 && dstate != 0', | CODE |
| HIGH | scripts/qemugdb/mtree.py | 57 | if not isnull(alias): | CODE |
| HIGH | scripts/qemugdb/mtree.py | 72 | if not isnull(alias): | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | qapi/ui.json | 175 | # the head can only be specified in conjunction with the device | COMMENT |
| MEDIUM | qapi/machine.json | 18 | # The comprehensive enumeration of QEMU system emulation | COMMENT |
| MEDIUM | qapi/qom.json | 912 | # information read from devices and switches in conjunction with | COMMENT |
| MEDIUM | qapi/virtio.json | 189 | # Poll for a comprehensive status of a given virtio device | COMMENT |
| LOW | bsd-user/syscall_defs.h | 298 | #define TARGET_SO_DONTROUTE 0x0010 /* just use interface addresses */ | COMMENT |
| MEDIUM | python/qemu/machine/machine.py | 496 | # Exclude harness-managed infrastructure args (harness_args) | COMMENT |
| LOW | python/scripts/mkvenv.py | 669 | # Double check that they didn't just use a version number | COMMENT |
| MEDIUM | include/libdecnumber/decNumberLocal.h | 60 | #define DECCHECK 0 /* 1 to enable robust checking */ | COMMENT |
| LOW | tests/vm/conf_example_x86.yml | 7 | # If any of the below are not provided, we will just use the qemu defaults. | COMMENT |
| LOW | tests/vm/conf_example_aarch64.yml | 7 | # If any of the below are not provided, we will just use the qemu defaults. | COMMENT |
| MEDIUM | tests/qapi-schema/test-qapi.py | 3 | # QAPI parser test harness | COMMENT |
| MEDIUM | docs/sphinx/kerneldoc.py | 78 | # FIXME: make this nicer and more robust against errors | COMMENT |
| MEDIUM | scripts/simpletrace.py | 329 | # NOTE: See built-in `argparse` module for a more robust cli interface | COMMENT |
| MEDIUM | scripts/vmstate-static-checker.py | 242 | # Essentially we're opening the substructs that got | COMMENT |
| LOW | scripts/ci/coverage-summary.sh | 8 | # most likely don't want to execute this script but just call gcovr | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | qapi/qom.json | 1041 | # Set this to 'on' to force compatibility with older QEMU or kernel | COMMENT |
| LOW | target/hexagon/gen_printinsn.py | 81 | # Check if the entire string t is an assignment. | COMMENT |
| LOW | tests/image-fuzzer/qcow2/layout.py | 387 | # Check if the refcount table needs one more cluster | COMMENT |
| LOW | tests/image-fuzzer/qcow2/layout.py | 390 | # Check if the additional table cluster needs | COMMENT |
| LOW | tests/functional/ppc64/test_fadump.py | 122 | # Check if fadump is active | COMMENT |
| LOW | tests/functional/ppc64/test_fadump.py | 139 | # Check if these logs are present in the fadump boot | COMMENT |
| LOW | tests/functional/ppc64/test_fadump.py | 151 | # Check if vmcore exists | COMMENT |
| LOW | tests/functional/aarch64/test_hotplug_pci.py | 62 | # Check if there is a new network adapter. | COMMENT |
| LOW | scripts/analyse-locks-simpletrace.py | 94 | # Check if any locks still held | COMMENT |
| LOW | scripts/checkpatch.pl | 1969 | # Check if it's the start of a commit log | COMMENT |
| LOW | scripts/checkpatch.pl | 1978 | # Check if there is UTF-8 in a commit log when a mail header has explicitly | COMMENT |
| LOW | scripts/checkpatch.pl | 2383 | # Check if either of these lines are modified, else | COMMENT |
| LOW | scripts/lib/kdoc/kdoc_output.py | 330 | # Print the output with the line prefix | COMMENT |
| LOW | scripts/lib/kdoc/kdoc_parser.py | 850 | # Output the result and we are done. | COMMENT |
| LOW | scripts/lib/kdoc/kdoc_parser.py | 1408 | # Check if it's a SYSCALL_DEFINE0 | COMMENT |
| LOW | scripts/performance/dissect.py | 143 | # Print results (Insert commas in large numbers) | COMMENT |
| LOW | qga/qapi-schema.json | 376 | # Write file changes buffered in userspace to disk/kernel buffers | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | python/qemu/machine/machine.py | 694 | def set_qmp_monitor(self, enabled: bool = True) -> None: | CODE |
| LOW | python/qemu/machine/machine.py | 888 | def set_machine(self, machine_type: str) -> None: | CODE |
| LOW | tests/qemu-iotests/qed.py | 19 | __all__ = ['QED_F_NEED_CHECK', 'QED'] | CODE |
| LOW | tests/qemu-iotests/fat16.py | 454 | def update_direntry(self, entry: FatDirectoryEntry) -> None: | CODE |
| LOW | docs/sphinx/qapidoc.py | 83 | logger = logging.getLogger(__name__) | CODE |
| LOW | docs/sphinx/qapidoc.py | 443 | def set_namespace(self, namespace: str, source: str, lineno: int) -> None: | CODE |
| LOW | docs/sphinx/dbusdoc.py | 44 | logger = logging.getLogger(__name__) | CODE |
| LOW | docs/sphinx/qapi_domain.py | 56 | logger = logging.getLogger(__name__) | CODE |
| LOW | scripts/simpletrace.py | 19 | __all__ = ['Analyzer', 'Analyzer2', 'process', 'run'] | CODE |
| LOW | scripts/compare-machine-types.py | 81 | def set_implementations(self, implementations: List['Driver']) -> None: | CODE |
| LOW | scripts/compare-machine-types.py | 89 | def set_implementations(self, implementations: List[Driver]) -> None: | CODE |
| LOW | scripts/minikconf.py | 23 | __all__ = [ 'KconfigDataError', 'KconfigParserError', | CODE |
| LOW | scripts/minikconf.py | 136 | def set_value(self, val: bool, clause: KconfigData.Clause) -> None: | CODE |
| LOW | scripts/update-cargo-wraps.py | 151 | def update_subproject(self, wrap_file: str, source_namever: str) -> None: | CODE |
| LOW | scripts/qapi/source.py | 46 | def set_defn(self, meta: str, name: str) -> None: | CODE |
| LOW | scripts/qapi/schema.py | 105 | def set_module(self, schema: QAPISchema) -> None: | CODE |
| LOW | scripts/qapi/schema.py | 483 | def set_module(self, schema: QAPISchema) -> None: | CODE |
| LOW | scripts/qapi/schema.py | 727 | def set_defined_in(self, name: str) -> None: | CODE |
| LOW | scripts/qapi/schema.py | 859 | def set_defined_in(self, name: str) -> None: | CODE |
| LOW | scripts/codeconverter/converter.py | 24 | logger = logging.getLogger(__name__) | CODE |
| LOW | scripts/codeconverter/codeconverter/qom_macros.py | 17 | logger = logging.getLogger(__name__) | CODE |
| LOW | scripts/codeconverter/codeconverter/patching.py | 18 | logger = logging.getLogger(__name__) | CODE |
| LOW | scripts/codeconverter/codeconverter/utils.py | 11 | logger = logging.getLogger(__name__) | CODE |
| LOW | scripts/codeconverter/codeconverter/utils.py | 72 | __all__ = ['not_optional', 'opt_compare', 'merge', 'line_col', 'LineAndColumn'] | CODE |
| LOW | scripts/codeconverter/codeconverter/regexps.py | 12 | logger = logging.getLogger(__name__) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | python/qemu/utils/__init__.py | 62 | CODE | |
| LOW | python/qemu/machine/machine.py | 123 | CODE | |
| LOW | tests/qemu-iotests/testenv.py | 198 | CODE | |
| LOW | tests/qemu-iotests/iotests.py | 721 | CODE | |
| LOW | tests/qemu-iotests/iotests.py | 1702 | CODE | |
| LOW | tests/migration-stress/guestperf/scenario.py | 23 | CODE | |
| LOW | tests/migration-stress/guestperf/hardware.py | 22 | CODE | |
| LOW | tests/image-fuzzer/qcow2/fuzz.py | 356 | CODE | |
| LOW | docs/sphinx/dbusdoc.py | 158 | CODE | |
| LOW | docs/sphinx/qapi_domain.py | 797 | CODE | |
| LOW | scripts/replay-dump.py | 91 | CODE | |
| LOW | scripts/qapi/types.py | 258 | CODE | |
| LOW | scripts/qapi/types.py | 278 | CODE | |
| LOW | scripts/qapi/commands.py | 287 | CODE | |
| LOW | scripts/lib/kdoc/kdoc_files.py | 240 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/qapi-schema/doc-good.json | 50 | # 1. Lorem ipsum dolor sit amet | COMMENT |
| LOW | tests/qapi-schema/doc-good.json | 50 | # 1. Lorem ipsum dolor sit amet | COMMENT |
| LOW | tests/qapi-schema/doc-good.json | 177 | # - Lorem ipsum dolor sit amet | COMMENT |
| LOW | tests/qapi-schema/doc-good.json | 177 | # - Lorem ipsum dolor sit amet | COMMENT |
| LOW | tests/qapi-schema/doc-good.txt | 30 | 1. Lorem ipsum dolor sit amet | CODE |
| LOW | tests/qapi-schema/doc-good.txt | 30 | 1. Lorem ipsum dolor sit amet | CODE |
| LOW | tests/qapi-schema/doc-good.txt | 135 | * Lorem ipsum dolor sit amet | COMMENT |
| LOW | tests/qapi-schema/doc-good.txt | 135 | * Lorem ipsum dolor sit amet | COMMENT |
| LOW | docs/sphinx/qapi_domain.py | 637 | Lorem ipsum, dolor sit amet ... | STRING |
| LOW | docs/sphinx/qapi_domain.py | 637 | Lorem ipsum, dolor sit amet ... | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | Cargo.toml | 14 | # don't forget to update docs/devel/rust.rst msrv | COMMENT |
| LOW | Cargo.toml | 14 | # don't forget to update docs/devel/rust.rst msrv | COMMENT |
| MEDIUM | qapi/ui.json | 1387 | # codes match their position on non-Mac keyboards and you can use | COMMENT |
| LOW | ui/vnc.h | 332 | /* Encoding specific, if you add something here, don't forget to | COMMENT |
| MEDIUM | python/setup.cfg | 96 | # you want to run only the similarities checker, you can use "--disable=all | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | docs/config/mach-virt-serial.cfg | 4 | # Usage: | COMMENT |
| LOW | docs/config/q35-virtio-serial.cfg | 4 | # Usage: | COMMENT |
| LOW | docs/config/q35-virtio-graphical.cfg | 4 | # Usage: | COMMENT |
| LOW | docs/config/mach-virt-graphical.cfg | 4 | # Usage: | COMMENT |
| LOW | docs/config/q35-emulated.cfg | 4 | # Usage: | COMMENT |
| LOW | scripts/qemu-gdb.py | 13 | # Usage: | COMMENT |
| LOW | scripts/qom-cast-macro-clean-cocci-gen.py | 5 | # Usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | scripts/codeconverter/codeconverter/qom_type_info.py | 936 | CODE | |
| MEDIUM | scripts/codeconverter/codeconverter/qom_macros.py | 640 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | target/arm/tcg/op_helper.c | 330 | /* If we are currently in EL0 then we need to check if SCTLR is set up for | COMMENT |
| LOW | system/physmem.c | 2742 | /* We need to check if the requested address is in the RAM | COMMENT |