mirror of
https://dev.lirent.ru/Vatrog/vm-introspection-engine.git
synced 2026-06-18 04:16:39 +03:00
Rename project w32ms -> vmi-engine
Library vmie (libvmie.a), CLI vmie_cli, guest agent vmie-startup.exe, symbol prefix VMIE_ (header guards, the LTO build option). No behavior change.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* cli.c - thin demonstrator over the public w32ms API.
|
||||
/* cli.c - thin demonstrator over the public vmi-engine API.
|
||||
*
|
||||
* Opens a guest RAM backing file, brings up the VMI context, lists processes,
|
||||
* and for the first user process dumps its loaded modules and mapped regions.
|
||||
@@ -88,7 +88,7 @@ static void dump_regions(gva_ctx* ctx, const process* pr) {
|
||||
int main(int argc, char** argv) {
|
||||
if (argc < 3) {
|
||||
fprintf(stderr, "usage: %s <ram-file> <low> [nmax]\n",
|
||||
argc > 0 ? argv[0] : "w32ms_cli");
|
||||
argc > 0 ? argv[0] : "vmie_cli");
|
||||
return 2;
|
||||
}
|
||||
|
||||
|
||||
@@ -10,8 +10,8 @@
|
||||
#define CONTRACT_ACK 0xACED5EEDACED5EEDull
|
||||
#endif
|
||||
|
||||
#ifndef W32MS_CONTRACT_H
|
||||
#define W32MS_CONTRACT_H
|
||||
#ifndef VMIE_CONTRACT_H
|
||||
#define VMIE_CONTRACT_H
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#ifndef W32MS_MEMORY_H
|
||||
#define W32MS_MEMORY_H
|
||||
#ifndef VMIE_MEMORY_H
|
||||
#define VMIE_MEMORY_H
|
||||
#include <stdint.h>
|
||||
#include <stddef.h>
|
||||
struct gva_ctx; /* forward: completed below; lets profile.h name it */
|
||||
@@ -98,4 +98,4 @@ typedef int (*gva_sweep_cb)(void* user, const uint8_t* data, size_t len,
|
||||
int gva_sweep(gva_ctx* ctx, uintptr_t cr3, uint64_t lo, uint64_t hi,
|
||||
uint32_t prot_any, size_t overlap, gva_sweep_cb cb, void* user);
|
||||
|
||||
#endif /* W32MS_MEMORY_H */
|
||||
#endif /* VMIE_MEMORY_H */
|
||||
@@ -1,5 +1,5 @@
|
||||
#ifndef W32MS_PROFILE_H
|
||||
#define W32MS_PROFILE_H
|
||||
#ifndef VMIE_PROFILE_H
|
||||
#define VMIE_PROFILE_H
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user