diff --git a/include/interfaces/idapro/STARSInstruction.h b/include/interfaces/idapro/STARSInstruction.h index 2467616214a1c42b764442fb792fcac5645496b8..4b9e11e249986bd37384c7cb068cdae0381b5a75 100644 --- a/include/interfaces/idapro/STARSInstruction.h +++ b/include/interfaces/idapro/STARSInstruction.h @@ -78,9 +78,8 @@ class STARS_IDA_Instruction_t : public STARS_Instruction_t public: // Constructors and destructors - STARS_IDA_Instruction_t(const STARS_InstructionID_t& p_id) : STARS_Instruction_t(p_id), ImplicitDEFs(false) { + STARS_IDA_Instruction_t(const STARS_InstructionID_t& p_id) : STARSCmd({}), STARS_Instruction_t(p_id), ImplicitDEFs(false) { if (STARS_IsSSAMarkerPseudoID(p_id.GetIDWithinFile())) { // SSA marker pseudo-inst - (void) memset(&(STARScmd), 0, sizeof(STARScmd)); STARScmd.itype = NN_fnop; STARScmd.size = 1; } diff --git a/include/interfaces/idapro/all.h b/include/interfaces/idapro/all.h index 5e74bffb386282db0dab2931e585dd74e90b5fce..47d292bea5570404d0853c4094df20175da28767 100644 --- a/include/interfaces/idapro/all.h +++ b/include/interfaces/idapro/all.h @@ -5,6 +5,7 @@ // eventually move these into idapro/all.h #pragma GCC diagnostic ignored "-Wparentheses" #pragma GCC diagnostic ignored "-Wsign-compare" +#pragma GCC diagnostic ignored "-Wclass-memaccess" #include <fpro.h> #include <pro.h> #include <ida.hpp> @@ -17,6 +18,7 @@ #include <segment.hpp> #pragma GCC diagnostic pop #pragma GCC diagnostic pop +#pragma GCC diagnostic pop #include <assert.h>