How do I find where .text comes from in Rust? Any tips or tools to trace it?

9 Replies, 1825 Views

Yo! For 'how do i find where .text coomes from in rust', I’d recommend `nm -C your_binary`. It’ll show you symbols and where they’re located in the .text section.

Also, `cargo build --release` + `objdump -d` is a killer combo. You can see the disassembled code and trace back to your Rust source.

If you’re still confused about .text, it’s just the executable code part of the binary. Rust’s no different here—it’s all your compiled functions.

Messages In This Thread



Users browsing this thread: 1 Guest(s)