0vercl0k / symbolizer-rs

A fast execution trace symbolizer for Windows that runs on all major platforms and doesn't depend on any Microsoft libraries.
MIT License
84 stars 12 forks source link

Make `symbolizer-rs` a library rather than an executable #2

Closed hugsy closed 1 week ago

hugsy commented 5 months ago

Improvement suggestion: symbolizer-rs could be beneficial as a library (with the executable parser as an example) would be really convenient for integration to other projects.

0vercl0k commented 5 months ago

Yeah I think that'd be good. I'm going to wait a bit to iron out the first few bugs but when the dust settles, let's talk :)

0vercl0k commented 5 months ago

I think I'll look at that this month hopefully @hugsy - let me know if you have specific requests / usages in mind so that I can do my best to account for it :)

Cheers

hugsy commented 5 months ago

let me know if you have specific requests / usages in mind

Considering it's the only lib (AFAIK) that's cross-platform to symbolize traces, it'd really nice to use it in other languages than Rust, at least with C/C++ via FFI and ideally Python. Personally my (immediate) usage would be Python but I realize it could be too much to ask, so if you can make a lib (first) with FFI (second), I'm happy to contribute and PR some Py bindings.

What do you think ?

0vercl0k commented 5 months ago

Ack yeah, let me first find time make the lib as you mentioned : D

0vercl0k commented 1 week ago

Okay I've pushed up addr-symbolizer - sorry for the long delay (I lost motivation on the way 😅). There are probably a bunch of rough edges but .. yeah!

Cheers