Addr VG_(shadow_end);
Addr VG_(valgrind_base); /* valgrind's address range */
+
+// VG_(valgrind_end) has a slightly different meaning to all the other
+// VG_(*_end) vars -- ie. it names the last byte, whereas the others
+// go one byte past the end.
+
Addr VG_(valgrind_end);
vki_rlimit VG_(client_rlimit_data);
addr_t client_size, shadow_size;
VG_(valgrind_base) = (addr_t)&kickstart_base;
+
+ // VG_(valgrind_end) has a slightly different meaning to all the other
+ // VG_(*_end) vars -- ie. it names the last byte, whereas the others
+ // go one byte past the end.
+
VG_(valgrind_end) = ROUNDUP(argc_addr, 0x10000) - 1; // stack
// This gives the client the largest possible address space while