Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • opensrc/SMPStaticAnalyzer
1 result
Show changes
Commits on Source (1)
......@@ -80,7 +80,8 @@ class STARS_IDA_Instruction_t : public STARS_Instruction_t
// Constructors and destructors
STARS_IDA_Instruction_t(const STARS_InstructionID_t& p_id) : STARS_Instruction_t(p_id), ImplicitDEFs(false) {
if (STARS_IsSSAMarkerPseudoID(p_id.GetIDWithinFile())) { // SSA marker pseudo-inst
(void) memset(&(STARScmd), 0, sizeof(STARScmd));
// (void) memset(&(STARScmd), 0, sizeof(STARScmd));
STARScmd=STARS_IDA_insn_t{};
STARScmd.itype = NN_fnop;
STARScmd.size = 1;
}
......
......@@ -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>
......
......@@ -663,7 +663,7 @@ bool IDAP_run(size_t arg) {
return true;
#endif
}
catch (std::bad_alloc) {
catch (const std::bad_alloc &) {
SMP_msg("FATAL ERROR: Memory exhausted.\n");
if (nullptr != InfoAnnotFile) {
SMP_fprintf(InfoAnnotFile, " 8000000 2 ERROR MEMORYEXHAUSTED\n");
......