3 ms·
What happens if you put in a binary which outputs C-like machine code, like Rust (llvm) or zig?
by selfmodruntime 3y ago
What happens if you put in a binary which outputs C-like machine code, like Rust (llvm) or zig?
- aleclm 3y agoLanguages with a rich standard library and generating a lot of code for you usually need some love to get rid/represent idiomatically common patterns and to detect common data structures. We haven't looked into it yet, but the automatic data structure recognition might help. Frankly, Rust looks particularly scary: https://media.ccc.de/v/37c3-11684-rust_binary_analysis_feature_by_feature https://media.ccc.de/v/37c3-11684-rust_binary_analysis_featu...
- tux3 3y agoOh, very nice! I've dealt with forsaken deeply abstract vtable mazes of hell, but the idea of using a ton of sum types, dynamic dispatch, async everywhere, and long iterator chains would make for some deliciously unreadable binaries!