acadia-newlib/winsup/utils
Jon Turney 35227fec97
Cygwin: Don't dump non-writable image regions
After this, we will end up dumping memory regions where:

- state is MEM_COMMIT (i.e. is not MEM_RESERVE or MEM_FREE), and
-- type is MEM_PRIVATE and protection allows reads (i.e. not a guardpage), or
-- type is MEM_IMAGE and protection allows writes

Making this decision based on the current protection isn't 100% correct,
because it may have been changed using VirtualProtect().  But we don't
know how to determine if a region is shareable.

(As a practical matter, anything which gets us the stack (MEM_PRIVATE)
and .data/.bss (RW MEM_IMAGE) is going to be enough for 99% of cases)
2020-07-21 15:19:42 +01:00
..
COPYING.dumper
Makefile.in Cygwin: Remove reading of PE for section flags from dumper 2020-07-21 15:19:40 +01:00
aclocal.m4
autogen.sh
bloda.cc
chattr.c Cygwin: Add lsattr and chattr tools 2018-12-26 09:24:33 +01:00
configure
configure.ac
cygcheck.cc cygcheck: expand common_apps list 2019-06-04 11:31:54 -04:00
cygpath.cc Cygwin: utils: override definition of PMEM_EXTENDED_PARAMETER 2020-04-07 19:04:41 +02:00
cygwin-console-helper.cc Cygwin: pty: Prevent the helper process from exiting by Ctrl-C. 2019-09-14 09:17:27 -04:00
dump_setup.cc
dumper.cc Cygwin: Don't dump non-writable image regions 2020-07-21 15:19:42 +01:00
dumper.h Cygwin: Drop excluded regions list from dumper 2020-07-21 15:19:42 +01:00
gencat.c
getconf.c
getfacl.c getfacl: Simplify by using acl_to_any_text 2018-07-25 09:32:36 +02:00
kill.cc Cygwin: utils: kill: revert erroneously removed optind correction 2019-02-18 10:22:37 +01:00
ldd.cc Cygwin: ldd: Try harder to get dll names 2019-08-15 09:56:11 +02:00
ldh.cc
loadlib.h
locale.cc
lsattr.c Cygwin: Add lsattr and chattr tools 2018-12-26 09:24:33 +01:00
minidumper.cc
mkgroup.c
mkpasswd.c
module_info.cc
mount.cc Cygwin: utils: MOUNT_BINARY -> MOUNT_TEXT 2019-02-18 11:02:03 +01:00
passwd.c
path.cc Cygwin: utils: MOUNT_BINARY -> MOUNT_TEXT 2019-02-18 11:02:03 +01:00
path.h Cygwin: utils: change 3rd readlink param to size_t 2018-08-08 10:50:19 +02:00
pldd.c
ps.cc Cygwin: utils: override definition of PMEM_EXTENDED_PARAMETER 2020-04-07 19:04:41 +02:00
regtool.cc regtool: allow /proc/registry{,32,64}/ registry path prefix 2019-11-13 09:39:04 +01:00
setfacl.c setfacl: Rename the option --file to --set-file, as on Linux 2018-08-17 11:35:24 +02:00
setmetamode.c
ssp.c
ssp.txt
strace.cc Cygwin: strace: print windows and cygwin pid in event output 2019-03-23 17:50:00 +01:00
testsuite.cc
testsuite.h
tzmap-from-unicode.org
tzmap.h
tzset.c
umount.cc
wide_path.h