@@ -83,6 +83,10 @@ BRIDGE_IMPEXP const char* BridgeInit()
83
83
LOADEXPORT (_dbg_dbgcmddirectexec);
84
84
LOADEXPORT (_dbg_getbranchdestination);
85
85
LOADEXPORT (_dbg_sendmessage);
86
+ LOADEXPORT (_dbg_gethandlecount);
87
+ LOADEXPORT (_dbg_gethandlename);
88
+ LOADEXPORT (_dbg_enumhandles);
89
+ LOADEXPORT (_dbg_getProcessInformation);
86
90
return 0 ;
87
91
}
88
92
@@ -846,6 +850,26 @@ BRIDGE_IMPEXP ARGTYPE DbgGetArgTypeAt(duint addr)
846
850
return ARG_NONE;
847
851
}
848
852
853
+ BRIDGE_IMPEXP long DbgGetHandleCount ()
854
+ {
855
+ return _dbg_gethandlecount ();
856
+ }
857
+
858
+ BRIDGE_IMPEXP long DbgEnumHandles (duint* handles, unsigned char * typeNumbers, unsigned int * grantedAccess, unsigned int maxcount)
859
+ {
860
+ return _dbg_enumhandles (handles, typeNumbers, grantedAccess, maxcount);
861
+ }
862
+
863
+ BRIDGE_IMPEXP bool DbgGetHandleName (char *name, char * typeName, size_t buffersize, duint remotehandle)
864
+ {
865
+ return _dbg_gethandlename (name, typeName, buffersize, remotehandle);
866
+ }
867
+
868
+ BRIDGE_IMPEXP PROCESS_INFORMATION* DbgGetProcessInformation ()
869
+ {
870
+ return _dbg_getProcessInformation ();
871
+ }
872
+
849
873
BRIDGE_IMPEXP void GuiDisasmAt (duint addr, duint cip)
850
874
{
851
875
_gui_sendmessage (GUI_DISASSEMBLE_AT, (void *)addr, (void *)cip);
0 commit comments