Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1676)

Unified Diff: core/arch/x86_code.c

Issue 175430044: i#1551 Port DynamoRIO to ARM: fix link error for ARM build (Closed) Base URL: https://dynamorio.googlecode.com/svn/trunk
Patch Set: Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « core/arch/x86/mangle.c ('k') | core/emit.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/arch/x86_code.c
diff --git a/core/arch/x86_code.c b/core/arch/x86_code.c
index aa22af17759bd3cf3e9a4aaafc11152332361cda..e8d5a35c8edff4430a6882d9a363191640628cb6 100644
--- a/core/arch/x86_code.c
+++ b/core/arch/x86_code.c
@@ -415,9 +415,13 @@ safe_read_fast(const void *base, size_t size, void *out_buf, size_t *bytes_read)
bool
is_safe_read_pc(app_pc pc)
{
+#ifdef X86
return (pc == (app_pc)safe_read_asm_pre ||
pc == (app_pc)safe_read_asm_mid ||
pc == (app_pc)safe_read_asm_post);
+#elif defined(ARM)
+ return false;
+#endif
}
app_pc
« no previous file with comments | « core/arch/x86/mangle.c ('k') | core/emit.c » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b