forked from S2E/libcpu
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Vitaly Chipounov <vitaly@cyberhaven.io>
- Loading branch information
1 parent
01fbce0
commit 3a65113
Showing
4 changed files
with
34 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
/// Copyright (C) 2018 Cyberhaven | ||
/// Copyrights of all contributions belong to their respective owners. | ||
/// | ||
/// This library is free software; you can redistribute it and/or | ||
/// modify it under the terms of the GNU Library General Public | ||
/// License as published by the Free Software Foundation; either | ||
/// version 2 of the License, or (at your option) any later version. | ||
/// | ||
/// This library is distributed in the hope that it will be useful, | ||
/// but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
/// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
/// Library General Public License for more details. | ||
/// | ||
/// You should have received a copy of the GNU Library General Public | ||
/// License along with this library; if not, see <http://www.gnu.org/licenses/>. | ||
|
||
#ifndef __LIBCPU_MEMDBG_H__ | ||
|
||
#define __LIBCPU_MEMDBG_H__ | ||
|
||
#include <cpu/config.h> | ||
#include <cpu/i386/cpu.h> | ||
#include <inttypes.h> | ||
|
||
void cpu_host_memory_rw(uintptr_t source, uintptr_t dest, int length, int is_write); | ||
int cpu_memory_rw_debug(void *opaque_env, target_ulong addr, uint8_t *buf, int len, int is_write); | ||
void cpu_physical_memory_rw(target_phys_addr_t addr, uint8_t *buf, int len, int is_write); | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters