public static int mprotect (IntPtr start, ulong len, MmapProts prot)
		{
			throw new System.NotImplementedException();
		}
Esempio n. 2
0
 private static extern IntPtr mmap64_posix(IntPtr start, UIntPtr length,
                                           MmapProts prot, MmapFlags flags, int fd, long offset);
		public static IntPtr mmap (IntPtr start, ulong length,
		MmapProts prot, MmapFlags flags, int fd, long offset)
		{
			throw new System.NotImplementedException();
		}
Esempio n. 4
0
		private static extern int ToMmapProts (Int32 value, out MmapProts rval);
Esempio n. 5
0
		public static extern int remap_file_pages (IntPtr start, ulong size,
		MmapProts prot, long pgoff, MmapFlags flags);
		private static int ToMmapProts (Int32 value, out MmapProts rval)
		{
			throw new System.NotImplementedException();
		}
Esempio n. 7
0
		public static bool TryFromMmapProts (MmapProts value, out Int32 rval)
		{
			return FromMmapProts (value, out rval) == 0;
		}
 private static extern int FromMmapProts(MmapProts value, out Int32 rval);
 public static bool TryFromMmapProts(MmapProts value, out Int32 rval)
 {
     return(FromMmapProts(value, out rval) == 0);
 }
Esempio n. 10
0
 public static int mprotect(IntPtr start, ulong len, MmapProts prot)
 {
     throw new System.NotImplementedException();
 }
Esempio n. 11
0
 public static int remap_file_pages(IntPtr start, ulong size,
                                    MmapProts prot, long pgoff, MmapFlags flags)
 {
     throw new System.NotImplementedException();
 }
Esempio n. 12
0
 public static IntPtr mmap(IntPtr start, ulong length,
                           MmapProts prot, MmapFlags flags, int fd, long offset)
 {
     throw new System.NotImplementedException();
 }
Esempio n. 13
0
        public static bool Reprotect(IntPtr address, ulong size, MemoryProtection protection)
        {
            MmapProts prot = GetProtection(protection);

            return(Syscall.mprotect(address, size, prot) == 0);
        }
Esempio n. 14
0
 public static extern IntPtr mmap(IntPtr start, ulong length,
                                  MmapProts prot, MmapFlags flags, int fd, long offset);
		public static int remap_file_pages (IntPtr start, ulong size,
		MmapProts prot, long pgoff, MmapFlags flags)
		{
			throw new System.NotImplementedException();
		}
 private static extern int ToMmapProts(Int32 value, out MmapProts rval);
		private static int FromMmapProts (MmapProts value, out Int32 rval)
		{
			throw new System.NotImplementedException();
		}
 public static bool TryToMmapProts(Int32 value, out MmapProts rval)
 {
     return(ToMmapProts(value, out rval) == 0);
 }
Esempio n. 19
0
		private static extern int FromMmapProts (MmapProts value, out Int32 rval);
Esempio n. 20
0
 public static extern IntPtr mmap(IntPtr start, UIntPtr length,
                                  MmapProts prot, MmapFlags flags, int fd, IntPtr offset);
Esempio n. 21
0
		public static Int32 FromMmapProts (MmapProts value)
		{
			Int32 rval;
			if (FromMmapProts (value, out rval) == -1)
				ThrowArgumentException (value);
			return rval;
		}
Esempio n. 22
0
 private static extern int mprotect(IntPtr start, IntPtr len, MmapProts prot);
Esempio n. 23
0
		public static bool TryToMmapProts (Int32 value, out MmapProts rval)
		{
			return ToMmapProts (value, out rval) == 0;
		}
Esempio n. 24
0
		public static extern int mprotect (IntPtr start, ulong len, MmapProts prot);