App, scripts, configs for restricting memory <http://avd.reduct.ru/programming/restrict-memory.html>
C Makefile Shell
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
linker
.gitignore
LICENSE
Makefile
README.md
big_alloc.c
lxc-my.conf
memrestrict.c
ptrace-restrict.c
vg-wrap.sh

README.md

Collection of configs, scripts and programs were involved in writing "Restricting program memory".

  • big_alloc.c - simple program that allocates ~100 MiB of memory
  • lxc-my.conf - config for LXC
  • linker - Linker related stuff
  • Makefile - you guess.
  • memrestrict.c - intercept malloc/free calls to acount heap usage
  • vg-wrap.sh - LD_PRELOAD wrapper for valgrind