mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-05 02:39:44 +02:00
GP-3266 Max jumptable entry option
This commit is contained in:
parent
3b62fdaa95
commit
d8b4f910ca
11 changed files with 93 additions and 12 deletions
|
@ -64,6 +64,7 @@ extern ElementId ELEM_SPLITDATATYPE; ///< Marshaling element \<splitdatatype>
|
|||
extern ElementId ELEM_STRUCTALIGN; ///< Marshaling element \<structalign>
|
||||
extern ElementId ELEM_TOGGLERULE; ///< Marshaling element \<togglerule>
|
||||
extern ElementId ELEM_WARNING; ///< Marshaling element \<warning>
|
||||
extern ElementId ELEM_JUMPTABLEMAX; ///< Marshaling element \<jumptablemax>
|
||||
|
||||
/// \brief Base class for options classes that affect the configuration of the Architecture object
|
||||
///
|
||||
|
@ -293,6 +294,12 @@ public:
|
|||
virtual string apply(Architecture *glb,const string &p1,const string &p2,const string &p3) const;
|
||||
};
|
||||
|
||||
class OptionJumpTableMax : public ArchOption {
|
||||
public:
|
||||
OptionJumpTableMax(void) { name = "jumptablemax"; } ///< Constructor
|
||||
virtual string apply(Architecture *glb,const string &p1,const string &p2,const string &p3) const;
|
||||
};
|
||||
|
||||
class OptionJumpLoad : public ArchOption {
|
||||
public:
|
||||
OptionJumpLoad(void) { name = "jumpload"; } ///< Constructor
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue