diff options
| author | serpilliere <devnull@localhost> | 2011-08-26 13:34:12 +0200 |
|---|---|---|
| committer | serpilliere <devnull@localhost> | 2011-08-26 13:34:12 +0200 |
| commit | bbd7e71ada55e23fe857a7c9954687ff987dec7c (patch) | |
| tree | 5b8b21abab228129b8b2db1fab465185d27e4416 /miasm/tools/emul_lib/libcodenat.c | |
| parent | 78bacd4d0dd014412a81ce8dc72ad3954bcd12e5 (diff) | |
| download | focaccia-miasm-bbd7e71ada55e23fe857a7c9954687ff987dec7c.tar.gz focaccia-miasm-bbd7e71ada55e23fe857a7c9954687ff987dec7c.zip | |
explicit error whil vm_get_mem fails
Diffstat (limited to 'miasm/tools/emul_lib/libcodenat.c')
| -rw-r--r-- | miasm/tools/emul_lib/libcodenat.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/miasm/tools/emul_lib/libcodenat.c b/miasm/tools/emul_lib/libcodenat.c index 1ceb8712..97dedd7a 100644 --- a/miasm/tools/emul_lib/libcodenat.c +++ b/miasm/tools/emul_lib/libcodenat.c @@ -84,7 +84,7 @@ struct memory_page_node * get_memory_page_from_address(uint64_t ad) if ( mpn && (mpn->ad <= ad) && (ad < mpn->ad + mpn->size)) return mpn; - printf("cannot find address!! %"PRIX64"\n", ad); + printf("ERROR: address 0x%"PRIX64" is not mapped in virtual memory:\n", ad); dump_memory_page_pool(); dump_gpregs(); //exit(-1); @@ -98,7 +98,7 @@ struct memory_page_node * get_memory_page_from_address(uint64_t ad) if ((mpn->ad <= ad) && (ad < mpn->ad + mpn->size)) return mpn; } - printf("cannot find address!! %X\n", ad); + printf("address %"PRIX64" is not mapped in virtual memory \n", ad); dump_memory_page_pool(); dump_gpregs(); //exit(-1); |