You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
long as gcc/g++ is invoked without the -nostdlib option, any attempt by the untrusted code to define an entry point (_start function) will result in a linker error, because the name _start will conflict with the real _start function defined in crt1.o
Although run this code with EasySandbox will get a segment fault, I think it maybe an way to bypass sandbox.
Maybe we can disable -ldl option to prevent using dlopen function.
The text was updated successfully, but these errors were encountered:
virusdefender
changed the title
__libc_start_main can be override_without -nostdlib option
__libc_start_main can be overrided without -nostdlib option
Jan 19, 2016
As is described in the document
However, as I tested, there is no linker error.
gcc version 4.8.4 (Ubuntu 4.8.4-2ubuntu1~14.04)
Although run this code with EasySandbox will get a segment fault, I think it maybe an way to bypass sandbox.
Maybe we can disable
-ldl
option to prevent usingdlopen
function.The text was updated successfully, but these errors were encountered: