相关疑难解决方法(0)

编译错误:在程序等中迷路'\ 302'

我在编译后面的漏洞利用代码时遇到问题:

http://downloads.securityfocus.com/vulnerabilities/exploits/59846-1.c

我正在使用:"gcc file.c"和"gcc -O2 file.c",但它们都会出现以下错误:

 sorbolinux-exec.c: In function ‘sc’:
 sorbolinux-exec.c:76: error: stray ‘\302’ in program
 sorbolinux-exec.c:76: error: stray ‘\244’ in program
 sorbolinux-exec.c:76: error: ‘t’ undeclared (first use in this function)
 sorbolinux-exec.c:76: error: (Each undeclared identifier is reported only  once
 sorbolinux-exec.c:76: error: for each function it appears in.)
Run Code Online (Sandbox Code Playgroud)

我尝试在Kali linux和Ubuntu 10.04上编译它们并得到相同的结果.

c compiler-construction

31
推荐指数
3
解决办法
13万
查看次数

奇怪的错误:在这个程序中流浪 '\226'

theRunners[i] |= (1ULL << (((runnerList)atoll(token)) – 1ULL));
Run Code Online (Sandbox Code Playgroud)

为什么该行给出以下奇怪的错误?

错误:程序中的“\226”

怎么了?

c++ compiler-errors

2
推荐指数
1
解决办法
2万
查看次数

标签 统计

c ×1

c++ ×1

compiler-construction ×1

compiler-errors ×1