#include <MainDlg.h>
Public Types | |
enum | { IDD = IDD_MAINDLG } |
Public Member Functions | |
CMainDlg () | |
COMMAND_ID_HANDLER (IDC_RUNDBG, OnRunDebugger) | |
COMMAND_ID_HANDLER (IDC_STARTDBG, OnParamsChanged) | |
COMMAND_ID_HANDLER (IDC_STOPDBG, OnParamsChanged) | |
COMMAND_ID_HANDLER (IDC_USEKD, OnParamsChanged) | |
COMMAND_ID_HANDLER (IDC_USEWINDBG, OnParamsChanged) | |
COMMAND_ID_HANDLER (IDC_USECUSTOM, OnParamsChanged) | |
COMMAND_ID_HANDLER (IDC_BREAKIN, OnParamsChanged) | |
COMMAND_ID_HANDLER (IDC_LOGPACKETS, OnLogPacketsChanged) | |
COMMAND_HANDLER (IDC_DBGTEMPLATE, EN_KILLFOCUS, OnParamsChanged) | |
LRESULT | OnTimer (UINT, WPARAM, LPARAM, BOOL &) |
LRESULT | OnInitDialog (UINT, WPARAM, LPARAM, BOOL &) |
LRESULT | OnAppAbout (WORD, WORD, HWND, BOOL &) |
LRESULT | OnOK (WORD, WORD wID, HWND, BOOL &) |
LRESULT | OnCancel (WORD, WORD wID, HWND, BOOL &) |
LRESULT | OnParamsChanged (WORD, WORD wID, HWND, BOOL &) |
LRESULT | OnLogPacketsChanged (WORD, WORD wID, HWND, BOOL &) |
LRESULT | OnRunDebugger (WORD, WORD wID, HWND, BOOL &) |
LRESULT | OnSelChanged (int, LPNMHDR, BOOL &) |
LRESULT | OnDebugLevelChanged (WORD, WORD wID, HWND, BOOL &) |
LRESULT | OnBnClickedClearlog (WORD, WORD, HWND, BOOL &) |
LRESULT | OnBnClickedUnpatch (WORD, WORD, HWND, BOOL &) |
LRESULT | OnBnClickedDbgpath (WORD, WORD, HWND, BOOL &) |
LRESULT | OnBnClickedTraceassist (WORD, WORD, HWND, BOOL &) |
Protected Member Functions | |
void | SearchForNewProcesses () |
void | UpdateProcessInfo () |
void | RunDebugger (unsigned entryIndex) |
void | PerformProcessActions (PatchedProcess &proc, BazisLib::TimeSpan &runTime, bool *pPatchingStarted) |
void | CleanupProcessEntry (PatchedProcess &proc) |
void | SaveParamsToRegistry () |
void | CreateStatusMapping (PatchedProcess &proc, bool Reset) |
bool | InitiatePatching (PatchedProcess &proc) |
void | UpdateLog (PatchedProcess &proc) |
void | UpdateUnpatchButton (int SelectionIndex) |
void | UpdateParamControls () |
void | OnDebuggerPathChanged () |
void | DisplayStats (PatchedProcess &proc) |
Private Attributes | |
PatchedProcessList | m_Processes |
PatchedProcessSet | m_PatchedSet |
CListViewCtrl | m_ListView |
CListViewCtrl | m_StatsView |
CImageList | m_ImageList |
unsigned | m_ProcessorCount |
MonitorParams | m_Params |
BazisLib::FilePath | m_DbgToolsPath |
CComboBox | m_DebugLevel |
Definition at line 26 of file MainDlg.h.
CMainDlg::CMainDlg | ( | ) |
void CMainDlg::CleanupProcessEntry | ( | PatchedProcess & | proc | ) | [protected] |
Definition at line 426 of file MainDlg.cpp.
CMainDlg::COMMAND_HANDLER | ( | IDC_DBGTEMPLATE | , | |
EN_KILLFOCUS | , | |||
OnParamsChanged | ||||
) |
CMainDlg::COMMAND_ID_HANDLER | ( | IDC_LOGPACKETS | , | |
OnLogPacketsChanged | ||||
) |
CMainDlg::COMMAND_ID_HANDLER | ( | IDC_BREAKIN | , | |
OnParamsChanged | ||||
) |
CMainDlg::COMMAND_ID_HANDLER | ( | IDC_USECUSTOM | , | |
OnParamsChanged | ||||
) |
CMainDlg::COMMAND_ID_HANDLER | ( | IDC_USEWINDBG | , | |
OnParamsChanged | ||||
) |
CMainDlg::COMMAND_ID_HANDLER | ( | IDC_USEKD | , | |
OnParamsChanged | ||||
) |
CMainDlg::COMMAND_ID_HANDLER | ( | IDC_STOPDBG | , | |
OnParamsChanged | ||||
) |
CMainDlg::COMMAND_ID_HANDLER | ( | IDC_STARTDBG | , | |
OnParamsChanged | ||||
) |
CMainDlg::COMMAND_ID_HANDLER | ( | IDC_RUNDBG | , | |
OnRunDebugger | ||||
) |
void CMainDlg::CreateStatusMapping | ( | PatchedProcess & | proc, | |
bool | Reset | |||
) | [protected] |
Definition at line 445 of file MainDlg.cpp.
void CMainDlg::DisplayStats | ( | PatchedProcess & | proc | ) | [protected] |
Definition at line 921 of file MainDlg.cpp.
bool CMainDlg::InitiatePatching | ( | PatchedProcess & | proc | ) | [protected] |
LRESULT CMainDlg::OnAppAbout | ( | WORD | , | |
WORD | , | |||
HWND | , | |||
BOOL & | ||||
) |
Definition at line 257 of file MainDlg.cpp.
LRESULT CMainDlg::OnBnClickedClearlog | ( | WORD | , | |
WORD | , | |||
HWND | , | |||
BOOL & | ||||
) |
Definition at line 822 of file MainDlg.cpp.
LRESULT CMainDlg::OnBnClickedDbgpath | ( | WORD | , | |
WORD | , | |||
HWND | , | |||
BOOL & | ||||
) |
LRESULT CMainDlg::OnBnClickedTraceassist | ( | WORD | , | |
WORD | , | |||
HWND | , | |||
BOOL & | ||||
) |
Definition at line 961 of file MainDlg.cpp.
LRESULT CMainDlg::OnBnClickedUnpatch | ( | WORD | , | |
WORD | , | |||
HWND | , | |||
BOOL & | ||||
) |
LRESULT CMainDlg::OnCancel | ( | WORD | , | |
WORD | wID, | |||
HWND | , | |||
BOOL & | ||||
) |
Definition at line 269 of file MainDlg.cpp.
void CMainDlg::OnDebuggerPathChanged | ( | ) | [protected] |
Definition at line 885 of file MainDlg.cpp.
LRESULT CMainDlg::OnDebugLevelChanged | ( | WORD | , | |
WORD | wID, | |||
HWND | , | |||
BOOL & | ||||
) |
LRESULT CMainDlg::OnInitDialog | ( | UINT | , | |
WPARAM | , | |||
LPARAM | , | |||
BOOL & | bHandled | |||
) |
LRESULT CMainDlg::OnLogPacketsChanged | ( | WORD | , | |
WORD | wID, | |||
HWND | , | |||
BOOL & | ||||
) |
Definition at line 976 of file MainDlg.cpp.
LRESULT CMainDlg::OnOK | ( | WORD | , | |
WORD | wID, | |||
HWND | , | |||
BOOL & | ||||
) |
Definition at line 262 of file MainDlg.cpp.
LRESULT CMainDlg::OnParamsChanged | ( | WORD | , | |
WORD | wID, | |||
HWND | , | |||
BOOL & | ||||
) |
LRESULT CMainDlg::OnRunDebugger | ( | WORD | , | |
WORD | wID, | |||
HWND | , | |||
BOOL & | ||||
) |
LRESULT CMainDlg::OnSelChanged | ( | int | , | |
LPNMHDR | , | |||
BOOL & | ||||
) |
LRESULT CMainDlg::OnTimer | ( | UINT | , | |
WPARAM | , | |||
LPARAM | , | |||
BOOL & | ||||
) |
void CMainDlg::PerformProcessActions | ( | PatchedProcess & | proc, | |
BazisLib::TimeSpan & | runTime, | |||
bool * | pPatchingStarted | |||
) | [protected] |
void CMainDlg::RunDebugger | ( | unsigned | entryIndex | ) | [protected] |
void CMainDlg::SaveParamsToRegistry | ( | ) | [protected] |
Definition at line 251 of file MainDlg.cpp.
void CMainDlg::SearchForNewProcesses | ( | ) | [protected] |
void CMainDlg::UpdateLog | ( | PatchedProcess & | proc | ) | [protected] |
Definition at line 500 of file MainDlg.cpp.
void CMainDlg::UpdateParamControls | ( | ) | [protected] |
Definition at line 227 of file MainDlg.cpp.
void CMainDlg::UpdateProcessInfo | ( | ) | [protected] |
void CMainDlg::UpdateUnpatchButton | ( | int | SelectionIndex | ) | [protected] |
Definition at line 863 of file MainDlg.cpp.
BazisLib::FilePath CMainDlg::m_DbgToolsPath [private] |
CComboBox CMainDlg::m_DebugLevel [private] |
CImageList CMainDlg::m_ImageList [private] |
CListViewCtrl CMainDlg::m_ListView [private] |
MonitorParams CMainDlg::m_Params [private] |
PatchedProcessSet CMainDlg::m_PatchedSet [private] |
PatchedProcessList CMainDlg::m_Processes [private] |
unsigned CMainDlg::m_ProcessorCount [private] |
CListViewCtrl CMainDlg::m_StatsView [private] |