echo 'main(){}' | gcc -xc - -o /dev/stdout | ???
有没有办法在类 Unix 系统上运行输出二进制文件?
编辑:我需要它在沙盒环境中运行 g++ 的输出,在那里我不能写任何文件(我保证没有恶意)。
shell executable stdout
executable ×1
shell ×1
stdout ×1