added libafl guard.

This commit is contained in:
Romain Malmain 2023-11-30 18:15:13 +01:00
parent c386a5a9b9
commit 033f2439c7

View File

@ -7934,7 +7934,9 @@ static Property x86_cpu_properties[] = {
static const struct SysemuCPUOps i386_sysemu_ops = { static const struct SysemuCPUOps i386_sysemu_ops = {
.get_memory_mapping = x86_cpu_get_memory_mapping, .get_memory_mapping = x86_cpu_get_memory_mapping,
.get_paging_enabled = x86_cpu_get_paging_enabled, .get_paging_enabled = x86_cpu_get_paging_enabled,
//// --- Begin LibAFL code ---
.get_paging_id = x86_cpu_get_paging_id, .get_paging_id = x86_cpu_get_paging_id,
//// --- End LibAFL code ---
.get_phys_page_attrs_debug = x86_cpu_get_phys_page_attrs_debug, .get_phys_page_attrs_debug = x86_cpu_get_phys_page_attrs_debug,
.asidx_from_attrs = x86_asidx_from_attrs, .asidx_from_attrs = x86_asidx_from_attrs,
.get_crash_info = x86_cpu_get_crash_info, .get_crash_info = x86_cpu_get_crash_info,