diff options
| author | Christian Krinitsin <mail@krinitsin.com> | 2025-05-30 16:52:07 +0200 |
|---|---|---|
| committer | Christian Krinitsin <mail@krinitsin.com> | 2025-05-30 16:52:17 +0200 |
| commit | 9260319e7411ff8281700a532caa436f40120ec4 (patch) | |
| tree | 2f6bfe5f3458dd49d328d3a9eb508595450adec0 /gitlab/issues/target_missing/host_missing/accel_missing/2647.toml | |
| parent | 225caa38269323af1bfc2daadff5ec8bd930747f (diff) | |
| download | qemu-analysis-9260319e7411ff8281700a532caa436f40120ec4.tar.gz qemu-analysis-9260319e7411ff8281700a532caa436f40120ec4.zip | |
gitlab scraper: download in toml and text format
Diffstat (limited to 'gitlab/issues/target_missing/host_missing/accel_missing/2647.toml')
| -rw-r--r-- | gitlab/issues/target_missing/host_missing/accel_missing/2647.toml | 59 |
1 files changed, 0 insertions, 59 deletions
diff --git a/gitlab/issues/target_missing/host_missing/accel_missing/2647.toml b/gitlab/issues/target_missing/host_missing/accel_missing/2647.toml deleted file mode 100644 index c66f03f21..000000000 --- a/gitlab/issues/target_missing/host_missing/accel_missing/2647.toml +++ /dev/null @@ -1,59 +0,0 @@ -id = 2647 -title = "A code error in accel/tcg/user-exec.c" -state = "closed" -created_at = "2024-11-01T09:37:53.416Z" -closed_at = "2024-11-16T21:18:19.560Z" -labels = ["Closed::Fixed", "kind::Bug", "linux-user"] -url = "https://gitlab.com/qemu-project/qemu/-/issues/2647" -host-os = "n/a" -host-arch = "n/a" -qemu-version = "n/a" -guest-os = "n/a" -guest-arch = "n/a" -description = """accel/tcg/user-exec.c: -``` -static int probe_access_internal(CPUArchState *env, vaddr addr, - int fault_size, MMUAccessType access_type, - bool nonfault, uintptr_t ra) -{ - int acc_flag; - bool maperr; - - switch (access_type) { - case MMU_DATA_STORE: - acc_flag = PAGE_WRITE_ORG; - break; - case MMU_DATA_LOAD: - acc_flag = PAGE_READ; - break; - case MMU_INST_FETCH: - acc_flag = PAGE_EXEC; - break; - default: - g_assert_not_reached(); - } - - if (guest_addr_valid_untagged(addr)) { - int page_flags = page_get_flags(addr); - if (page_flags & acc_flag) { - if ((acc_flag == PAGE_READ || acc_flag == PAGE_WRITE) - && cpu_plugin_mem_cbs_enabled(env_cpu(env))) { - return TLB_MMIO; - } - return 0; /* success */ - } - maperr = !(page_flags & PAGE_VALID); - } else { - maperr = true; - } - - if (nonfault) { - return TLB_INVALID_MASK; - } - - cpu_loop_exit_sigsegv(env_cpu(env), addr, access_type, maperr, ra); -} -``` -The conditional judgment "acc_flag == PAGE_WRITE" seems to have an issue, because acc_flag can only be PAGE_WRITE_ORG, PAGE_READ or PAGE_EXEC from the previous code.""" -reproduce = "n/a" -additional = "n/a" |