DynamoRIO / DynamoRIO/dynamorio

writable areas: consistent application and client protection view

Open
#143 4 comments 0 reactions 0 assignees View on GitHub
Migrated Priority-Low
Dominant language
C
Stars
3.2k
Forks
629
Avg merge
2d 15h
Merged PRs (30d)
31

Description

_From [derek.br...@gmail.com](https://code.google.com/u/117968039472581148324/) on May 13, 2009 11:05:03_

this was:
PR 214872/10437: writable areas: consistent application protection view

it also covers from PR 198873:
do something about executable areas we made non-writable

the query should show the app view, and we should hide exceptions if the
client writes to consistency read only areas

even if we don't emulate an app's mprotect/VirtualProtect call we need to
tweak the oldprot returned for transparency wrt memory regions we've made
read-only. we should add some test cases like:

VirtualProtect(newprot, &oldprot)
VirtualProtect(oldprot, NULL)

and ensure we don't lose writability on an rwx region we've made rx when
the app makes it rx temporarily.

for clients we should do the same on a dr_query_memory(),
dr_query_memory_ex(), and dr_virtual_query().

_Original issue: http://code.google.com/p/dynamorio/issues/detail?id=143_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.