MCPcopy Create free account
hub / github.com/CheckPointSW/Karta / configForm

Method configForm

src/disassembler/IDA/ida_api.py:676–694  ·  view source on GitHub ↗

Pop open Karta's configuration form (for the matcher parameters). Note: This function contains some of Karta's UI logic Return Value: result dict iff the form was filled and "OK"ed, None otherwise

(self)

Source from the content-addressed store, hash-verified

674
675 # Overridden base function
676 def configForm(self):
677 """Pop open Karta's configuration form (for the matcher parameters).
678
679 Note:
680 This function contains some of Karta's UI logic
681
682 Return Value:
683 result dict iff the form was filled and "OK"ed, None otherwise
684 """
685 c = ConfigForm()
686 c.Compile()
687 if not c.Execute():
688 return None
689 # return the values to the caller
690 config_values = {
691 "config_path": c._config_path.value,
692 "is_windows": c._is_windows.checked,
693 }
694 return config_values
695
696 # Overridden base function
697 def showMatchesForm(self, prepared_entries, bin_suggested_names, rename_fn):

Callers 1

pluginMainFunction · 0.45

Calls 1

ConfigFormClass · 0.85

Tested by

no test coverage detected