aboutsummaryrefslogtreecommitdiff
path: root/src/exec.c
Commit message (Collapse)AuthorAgeFilesLines
* make the whole project more python idiomaticFlorian Fischer2020-06-021-35/+0
| | | | | | | | | * rename src directory to allocbench * make global variable names UPPERCASE * format a lot of code using yapf * use lowercase ld_preload and ld_library_path as Allocator members * name expected Errors 'err' and don't raise a new Exception * disable some pylint messages
* catch SIGSEGV as well; register sa_handlers only if its SIG_DLF beforeFlorian Fischer2019-09-291-1/+0
|
* improve execFlorian Fischer2019-08-121-2/+6
| | | | | fix usage print message if exec failed and exit with exit code 1
* use LD_LIBRARY_PATH for glibc instead of calling its loaderFlorian Fischer2019-08-121-0/+32
Calling the loader fails on non ELF executables. Exec, formerly run_cmd, now takes two options: -l LD_LIBRARY_PATH, -p LD_PRELOAD. -p sets LD_PRELOAD and -l LD_LIBRARY_PATH before executing the rest of argv. glibc no longer uses cmd_prefix in favor of LD_LIBRARY_PATH.