Exception when loading rustc compiled executable
See original GitHub issueException while running job "Loading file":
Traceback (most recent call last):
File "CppHeaderParser/CppHeaderParser.py", line 2206, in __init__
File "ply/lex.py", line 389, in token
ply.lex.LexError: Scanning error. Illegal character '$'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "angrmanagement/data/instance.py", line 284, in _worker
File "angrmanagement/data/jobs/job.py", line 45, in run
File "angrmanagement/data/jobs/loading.py", line 88, in _run
File "angr/project.py", line 227, in __init__
File "angr/project.py", line 358, in _register_object
File "angr/procedures/definitions/__init__.py", line 327, in get
return self.get_stub(name, arch) # get_stub() might use the mangled name to derive the function prototype
File "angr/procedures/definitions/__init__.py", line 345, in get_stub
stub.prototype = self._proto_from_demangled_name(demangled_name)
File "angr/procedures/definitions/__init__.py", line 308, in _proto_from_demangled_name
parsed, _ = parse_cpp_file(name, with_param_names=False)
File "angr/sim_type.py", line 2078, in parse_cpp_file
File "CppHeaderParser/CppHeaderParser.py", line 2387, in __init__
CppHeaderParser.CppHeaderParser.CppParseError: Not able to parse on line 1 evaluating "_"
Error around:
This is the executable it fails on: cg_clif.zip For reference this is the build/bin/cg_clif
file created when compiling https://github.com/bjorn3/rustc_codegen_cranelift/
Issue Analytics
- State:
- Created a year ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Couldn't check for update to Compiler.exe - Rust - Community
This means that something is preventing the compiler from performing an update check and starting. This could be due to a firewall or...
Read more >Unable to execute a hello world project when using prefer ...
You are able to compile your code just fine, as shown by the fact that invoking the Rust compiler (a.k.a. rustc ) doesn't...
Read more >CantPackException: need DT_INIT on Rust executable for MIPS
What's the problem (or question)? UPX refuses to compress a Rust executable cross-compiled for MIPS (using LEDE's toolchain) Ultimate Packer ...
Read more >Rust release built web executable when run standalone ...
If I add more load, it'll start throwing the "connection reset by peer" error. ... so the issue is only with the standalone...
Read more >A Freestanding Rust Binary | Writing an OS in Rust
Such an executable is often called a “freestanding” or ... You can compile your crate through cargo build and then run the compiled...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
see https://github.com/angr/angr-website-hugo/issues/28 😃 we should remove that from the website
I can confirm this is now fixed.