📄 dasmdlg.h
字号:
// DasmDlg.h : header file
//
#include "PeFile.h"
#include <list>
#if !defined(AFX_DASMDLG_H__CD740C30_9D53_4B54_9DF6_C605289BDBC5__INCLUDED_)
#define AFX_DASMDLG_H__CD740C30_9D53_4B54_9DF6_C605289BDBC5__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CDasmDlg dialog
class CDasmDlg : public CDialog
{
// Construction
public:
DEBUG_EVENT m_DebugEvent;
_STARTUPINFOA m_si;
_PROCESS_INFORMATION m_pi;
void DasmGoto(DWORD addr);
int FindListString(CString s);
void ShowToList();
void AddDasmCode(PDASM_CODE pDasmCode);
void HDisasm(LPVOID ImageBase,DWORD Address,DWORD length);
void DasmShow();
void InitList();
CWinThread *m_hDebugThread;
CPeFile m_peFile;
CFont m_font;
CImageList m_imageList;
std::list<DASM_CODE> m_lstDasmCode;
CDasmDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CDasmDlg)
enum { IDD = IDD_DASM_DIALOG };
CListCtrl m_list;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CDasmDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CDasmDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnMenuOpen();
afx_msg void OnTimer(UINT nIDEvent);
afx_msg void OnButton2();
afx_msg void OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags);
afx_msg void OnKeydownList(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnMenuStepone();
afx_msg void OnVkF8();
afx_msg void OnBtnStepf8();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_DASMDLG_H__CD740C30_9D53_4B54_9DF6_C605289BDBC5__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -