diff options
| author | Xusheng <xusheng@vector35.com> | 2024-07-26 15:57:14 +0800 |
|---|---|---|
| committer | Xusheng <xusheng@vector35.com> | 2024-08-02 12:17:53 +0800 |
| commit | abbae639d8ba182e8b3cf2d5a9844a9b1f9844a1 (patch) | |
| tree | 272322e3269b09201c12489d93e7fbeb614fb140 /examples/triage/analysisinfo.h | |
| parent | 7a9a2503aae0c2b92b437b2ea7796efaae93a822 (diff) | |
Support setting user global pointer value
Diffstat (limited to 'examples/triage/analysisinfo.h')
| -rw-r--r-- | examples/triage/analysisinfo.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/examples/triage/analysisinfo.h b/examples/triage/analysisinfo.h new file mode 100644 index 00000000..4e6e6df3 --- /dev/null +++ b/examples/triage/analysisinfo.h @@ -0,0 +1,29 @@ +#pragma once + +#include <QtWidgets/QWidget> +#include <QtWidgets/QGridLayout> +#include <QtWidgets/QLabel> +#include "uitypes.h" +#include "headers.h" + +class TriageView; + +class AnalysisInfoWidget : public QWidget +{ + static constexpr std::int32_t m_maxColumns {2}; + BinaryViewRef m_data; + QGridLayout* m_layout {}; + NavigationAddressLabel* m_gpLabel; + QLabel* m_gpExtraLabel; + + BinaryNinja::Confidence<BinaryNinja::RegisterValue> m_lastGPValue; + + void updateDisplay(); + +public: + AnalysisInfoWidget(QWidget* parent, BinaryViewRef data); + virtual ~AnalysisInfoWidget(); + +private Q_SLOTS: + void timerExpired(); +}; |
