GUI: rename 'NtTerminateProcess' event to 'Exit Breakpoint'
This commit is contained in:
parent
b7e50aa3a2
commit
6ab2ba2c40
|
@ -56,7 +56,7 @@ void SettingsDialog::LoadSettings()
|
||||||
settings.eventSystemBreakpoint = true;
|
settings.eventSystemBreakpoint = true;
|
||||||
settings.eventTlsCallbacks = true;
|
settings.eventTlsCallbacks = true;
|
||||||
settings.eventEntryBreakpoint = true;
|
settings.eventEntryBreakpoint = true;
|
||||||
settings.eventNtTerminateProcess = false;
|
settings.eventExitBreakpoint = false;
|
||||||
settings.engineType = DebugEngineTitanEngine;
|
settings.engineType = DebugEngineTitanEngine;
|
||||||
settings.engineCalcType = calc_unsigned;
|
settings.engineCalcType = calc_unsigned;
|
||||||
settings.engineBreakpointType = break_int3short;
|
settings.engineBreakpointType = break_int3short;
|
||||||
|
@ -90,7 +90,7 @@ void SettingsDialog::LoadSettings()
|
||||||
|
|
||||||
//Events tab
|
//Events tab
|
||||||
GetSettingBool("Events", "SystemBreakpoint", &settings.eventSystemBreakpoint);
|
GetSettingBool("Events", "SystemBreakpoint", &settings.eventSystemBreakpoint);
|
||||||
GetSettingBool("Events", "NtTerminateProcess", &settings.eventNtTerminateProcess);
|
GetSettingBool("Events", "NtTerminateProcess", &settings.eventExitBreakpoint);
|
||||||
GetSettingBool("Events", "TlsCallbacks", &settings.eventTlsCallbacks);
|
GetSettingBool("Events", "TlsCallbacks", &settings.eventTlsCallbacks);
|
||||||
GetSettingBool("Events", "TlsCallbacksSystem", &settings.eventTlsCallbacksSystem);
|
GetSettingBool("Events", "TlsCallbacksSystem", &settings.eventTlsCallbacksSystem);
|
||||||
GetSettingBool("Events", "EntryBreakpoint", &settings.eventEntryBreakpoint);
|
GetSettingBool("Events", "EntryBreakpoint", &settings.eventEntryBreakpoint);
|
||||||
|
@ -105,7 +105,7 @@ void SettingsDialog::LoadSettings()
|
||||||
GetSettingBool("Events", "ThreadEnd", &settings.eventThreadEnd);
|
GetSettingBool("Events", "ThreadEnd", &settings.eventThreadEnd);
|
||||||
GetSettingBool("Events", "DebugStrings", &settings.eventDebugStrings);
|
GetSettingBool("Events", "DebugStrings", &settings.eventDebugStrings);
|
||||||
ui->chkSystemBreakpoint->setCheckState(bool2check(settings.eventSystemBreakpoint));
|
ui->chkSystemBreakpoint->setCheckState(bool2check(settings.eventSystemBreakpoint));
|
||||||
ui->chkNtTerminateProcess->setCheckState(bool2check(settings.eventNtTerminateProcess));
|
ui->chkExitBreakpoint->setCheckState(bool2check(settings.eventExitBreakpoint));
|
||||||
ui->chkTlsCallbacks->setCheckState(bool2check(settings.eventTlsCallbacks));
|
ui->chkTlsCallbacks->setCheckState(bool2check(settings.eventTlsCallbacks));
|
||||||
ui->chkTlsCallbacksSystem->setCheckState(bool2check(settings.eventTlsCallbacksSystem));
|
ui->chkTlsCallbacksSystem->setCheckState(bool2check(settings.eventTlsCallbacksSystem));
|
||||||
ui->chkEntryBreakpoint->setCheckState(bool2check(settings.eventEntryBreakpoint));
|
ui->chkEntryBreakpoint->setCheckState(bool2check(settings.eventEntryBreakpoint));
|
||||||
|
@ -389,7 +389,7 @@ void SettingsDialog::SaveSettings()
|
||||||
{
|
{
|
||||||
//Events tab
|
//Events tab
|
||||||
BridgeSettingSetUint("Events", "SystemBreakpoint", settings.eventSystemBreakpoint);
|
BridgeSettingSetUint("Events", "SystemBreakpoint", settings.eventSystemBreakpoint);
|
||||||
BridgeSettingSetUint("Events", "NtTerminateProcess", settings.eventNtTerminateProcess);
|
BridgeSettingSetUint("Events", "NtTerminateProcess", settings.eventExitBreakpoint);
|
||||||
BridgeSettingSetUint("Events", "TlsCallbacks", settings.eventTlsCallbacks);
|
BridgeSettingSetUint("Events", "TlsCallbacks", settings.eventTlsCallbacks);
|
||||||
BridgeSettingSetUint("Events", "TlsCallbacksSystem", settings.eventTlsCallbacksSystem);
|
BridgeSettingSetUint("Events", "TlsCallbacksSystem", settings.eventTlsCallbacksSystem);
|
||||||
BridgeSettingSetUint("Events", "EntryBreakpoint", settings.eventEntryBreakpoint);
|
BridgeSettingSetUint("Events", "EntryBreakpoint", settings.eventEntryBreakpoint);
|
||||||
|
@ -660,9 +660,9 @@ void SettingsDialog::on_chkSystemBreakpoint_stateChanged(int arg1)
|
||||||
settings.eventSystemBreakpoint = arg1 != Qt::Unchecked;
|
settings.eventSystemBreakpoint = arg1 != Qt::Unchecked;
|
||||||
}
|
}
|
||||||
|
|
||||||
void SettingsDialog::on_chkNtTerminateProcess_stateChanged(int arg1)
|
void SettingsDialog::on_chkExitBreakpoint_stateChanged(int arg1)
|
||||||
{
|
{
|
||||||
settings.eventNtTerminateProcess = arg1 != Qt::Unchecked;
|
settings.eventExitBreakpoint = arg1 != Qt::Unchecked;
|
||||||
}
|
}
|
||||||
|
|
||||||
void SettingsDialog::on_chkTlsCallbacks_stateChanged(int arg1)
|
void SettingsDialog::on_chkTlsCallbacks_stateChanged(int arg1)
|
||||||
|
|
|
@ -30,7 +30,7 @@ private slots:
|
||||||
void on_btnSave_clicked();
|
void on_btnSave_clicked();
|
||||||
//Event tab
|
//Event tab
|
||||||
void on_chkSystemBreakpoint_stateChanged(int arg1);
|
void on_chkSystemBreakpoint_stateChanged(int arg1);
|
||||||
void on_chkNtTerminateProcess_stateChanged(int arg1);
|
void on_chkExitBreakpoint_stateChanged(int arg1);
|
||||||
void on_chkTlsCallbacks_stateChanged(int arg1);
|
void on_chkTlsCallbacks_stateChanged(int arg1);
|
||||||
void on_chkTlsCallbacksSystem_stateChanged(int arg1);
|
void on_chkTlsCallbacksSystem_stateChanged(int arg1);
|
||||||
void on_chkEntryBreakpoint_stateChanged(int arg1);
|
void on_chkEntryBreakpoint_stateChanged(int arg1);
|
||||||
|
@ -172,7 +172,7 @@ private:
|
||||||
{
|
{
|
||||||
//Event Tab
|
//Event Tab
|
||||||
bool eventSystemBreakpoint;
|
bool eventSystemBreakpoint;
|
||||||
bool eventNtTerminateProcess;
|
bool eventExitBreakpoint;
|
||||||
bool eventTlsCallbacks;
|
bool eventTlsCallbacks;
|
||||||
bool eventTlsCallbacksSystem;
|
bool eventTlsCallbacksSystem;
|
||||||
bool eventEntryBreakpoint;
|
bool eventEntryBreakpoint;
|
||||||
|
|
|
@ -40,7 +40,7 @@
|
||||||
<string>Events</string>
|
<string>Events</string>
|
||||||
</attribute>
|
</attribute>
|
||||||
<layout class="QGridLayout" name="gridLayout">
|
<layout class="QGridLayout" name="gridLayout">
|
||||||
<item row="3" column="0">
|
<item row="2" column="0">
|
||||||
<widget class="QCheckBox" name="chkEntryBreakpoint">
|
<widget class="QCheckBox" name="chkEntryBreakpoint">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Entry Breakpoint*</string>
|
<string>Entry Breakpoint*</string>
|
||||||
|
@ -91,10 +91,10 @@
|
||||||
</property>
|
</property>
|
||||||
</spacer>
|
</spacer>
|
||||||
</item>
|
</item>
|
||||||
<item row="2" column="0">
|
<item row="3" column="0">
|
||||||
<widget class="QCheckBox" name="chkNtTerminateProcess">
|
<widget class="QCheckBox" name="chkExitBreakpoint">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>NtTerminateProcess*</string>
|
<string>Exit Breakpoint*</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
|
Loading…
Reference in New Issue