GDATASoftwareAG / smartvmi

Virtual Machine Introspection (VMI) for memory forensics and machine-learning.
http://www.smartvmi.org
MIT License
24 stars 5 forks source link

Pass `std::string_view` by value #58

Closed rageagainsthepc closed 1 year ago

rageagainsthepc commented 1 year ago

Use rust's str instead of CxxString for rust interface functions. Let the C++ code handle conversions from std::string_view to rust::Str. Furthermore, always pass std::string_view by value.