DynamoRIO / DynamoRIO/dynamorio
DynamoRIO fails to read config file while execve system call
- Dominant language
- C
- Stars
- 3.2k
- Forks
- 629
- Avg merge
- 2d 15h
- Merged PRs (30d)
- 31
Description
_From [zhao...@google.com](https://code.google.com/u/106321947286816917100/) on January 29, 2014 21:58:12_
simple test program
#include
#include
int main()
{
char *argv[] = { "/usr/bin/python", 0 };
char *envp[] = { "HOME=/home/zhaoqin/",
"PATH=/bin:/usr/bin",
"USER=zhaoqin",
"LOGNAME=zhaoqin",
0};
execve(argv[0], &argv[0], envp);
fprintf(stderr, "Oops!\n");
return -1;
}
$ gcc test.c -g -o test
$ drconfig -reg python -norun
$ drrun -debug -msgbox_mask 0xf -- ./test
DR should not follow on python execution as it is registered not run with python, but DR actually attached to python too.
_Original issue: http://code.google.com/p/dynamorio/issues/detail?id=1355_
Contributor guide
Assessment
This issue has not been assessed yet.