interface.h 459 B

1234567891011121314151617181920212223242526
  1. #pragma once
  2. #include <stddef.h>
  3. namespace NVdso {
  4. struct TSymbol {
  5. inline TSymbol()
  6. : Name(0)
  7. , Address(0)
  8. {
  9. }
  10. inline TSymbol(const char* name, void* addr)
  11. : Name(name)
  12. , Address(addr)
  13. {
  14. }
  15. const char* Name;
  16. void* Address;
  17. };
  18. size_t Enumerate(TSymbol* s, size_t len);
  19. void* Function(const char* name, const char* version);
  20. }