https://github.com/libvmi/libvmi
Revision df8547ff075d4352db2eb802775b7fa7a92756db authored by Petr Beneš on 05 February 2024, 16:53:32 UTC, committed by GitHub on 05 February 2024, 16:53:32 UTC
* Fix calculation of address in dump_exports function

* Fix default_access parameter when calling xen_altp2m_create_p2m

* Fix error message and update debug print format

* Add support for setting memory range access

* Add support for reading wide character strings

* Add last page table lookup fault functionality

Currently there is no way how to determine which VA failed to translate (e.g. during reading large chunks of memory or strings). This information might be useful for a potential future #PF injection.

This commit adds a function `vmi_get_last_pagetable_lookup_fault` which returns last faulting access_context_t (or NULL, if last access succeeded).
1 parent fba6232
History
Tip revision: df8547ff075d4352db2eb802775b7fa7a92756db authored by Petr Beneš on 05 February 2024, 16:53:32 UTC
Set mem-range access, read wstrings, get last PF (#1095)
Tip revision: df8547f
File Mode Size
arch
config
disk
driver
json_profiles
os
CMakeLists.txt -rw-r--r-- 8.2 KB
accessors.c -rw-r--r-- 28.4 KB
cache.c -rw-r--r-- 14.7 KB
cache.h -rw-r--r-- 3.7 KB
config.h.in -rw-r--r-- 2.8 KB
convenience.c -rw-r--r-- 5.6 KB
core.c -rw-r--r-- 27.9 KB
debug.h -rw-r--r-- 2.1 KB
elfparse.h -rw-r--r-- 3.7 KB
events.c -rw-r--r-- 35.7 KB
events.h -rw-r--r-- 29.9 KB
glib_compat.h -rw-r--r-- 2.2 KB
libtool_template.in -rwxr-xr-x 1.1 KB
libvmi.h -rw-r--r-- 81.8 KB
libvmi_extra.h -rw-r--r-- 6.3 KB
msr-index.c -rw-r--r-- 6.3 KB
msr-index.h -rw-r--r-- 1.3 KB
peparse.h -rw-r--r-- 9.9 KB
pretty_print.c -rw-r--r-- 3.2 KB
private.h -rw-r--r-- 11.9 KB
read.c -rw-r--r-- 21.3 KB
slat.c -rw-r--r-- 1.9 KB
slat.h -rw-r--r-- 3.9 KB
strmatch.c -rw-r--r-- 4.8 KB
write.c -rw-r--r-- 10.5 KB
x86.h -rw-r--r-- 4.8 KB

back to top