vtable_hook 0.1.1

Simple crate for hooking C++ VTables
Documentation
  • Coverage
  • 0%
    0 out of 41 items documented0 out of 25 items with examples
  • Size
  • Source code size: 14.82 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.35 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Links
  • Homepage
  • Repository
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • nepcat

VTable Hook

Simple crate for hooking C++ VTables

Installing

Add this line to your Cargo.toml

[dependencies]
vtable_hook = { version = "0.1.1" }

Available methods

Copy

Replacing original VTable with our own copy of that VTable. Available in two implementations:

  • Default (or wrapped) - uses lifetimes to prevent undefined behaviour when victim class gets freed. Disables itself on drop.
  • Raw - uses raw pointers, undefined behaviour should be prevented by the user.

Rewrite original VTable

TODO

Example usage

See here