equal
deleted
inserted
replaced
554 // lookup symbol in a shared library |
554 // lookup symbol in a shared library |
555 static void* dll_lookup(void* handle, const char* name); |
555 static void* dll_lookup(void* handle, const char* name); |
556 |
556 |
557 // Unload library |
557 // Unload library |
558 static void dll_unload(void *lib); |
558 static void dll_unload(void *lib); |
|
559 |
|
560 // Callback for loaded module information |
|
561 // Input parameters: |
|
562 // char* module_file_name, |
|
563 // address module_base_addr, |
|
564 // address module_top_addr, |
|
565 // void* param |
|
566 typedef int (*LoadedModulesCallbackFunc)(const char *, address, address, void *); |
|
567 |
|
568 static int get_loaded_modules_info(LoadedModulesCallbackFunc callback, void *param); |
559 |
569 |
560 // Return the handle of this process |
570 // Return the handle of this process |
561 static void* get_default_process_handle(); |
571 static void* get_default_process_handle(); |
562 |
572 |
563 // Check for static linked agent library |
573 // Check for static linked agent library |