Subversion Repositories Games.Carmageddon

Rev

Blame | Last modification | View Log | Download | RSS feed

  1. #include "himage.h"
  2. #include "harness/trace.h"
  3.  
  4. // IDA: void* __cdecl HostImageLoad(char *name)
  5. void* HostImageLoad(char* name) {
  6.     STUB();
  7.     return NULL; // Pierre-Marie Baty -- function must return a value
  8. }
  9.  
  10. // IDA: void __cdecl HostImageUnload(void *image)
  11. void HostImageUnload(void* image) {
  12.     LOG_TRACE("(%p)", image);
  13.     NOT_IMPLEMENTED();
  14. }
  15.  
  16. // IDA: void* __cdecl HostImageLookupName(void *img, char *name, br_uint_32 hint)
  17. void* HostImageLookupName(void* img, char* name, br_uint_32 hint) {
  18.     LOG_TRACE("(%p, \"%s\", %d)", img, name, hint);
  19.     NOT_IMPLEMENTED();
  20. }
  21.  
  22. // IDA: void* __cdecl HostImageLookupOrdinal(void *img, br_uint_32 ordinal)
  23. void* HostImageLookupOrdinal(void* img, br_uint_32 ordinal) {
  24.     LOG_TRACE("(%p, %d)", img, ordinal);
  25.     NOT_IMPLEMENTED();
  26. }
  27.