import-trace: initialize all members
This was never a real problem, but keeps us on the safe side. Found by Coverity Scan, CID 25731/25808/25817. Change-Id: Ie4bd9fb52ff6140ce7ae024738b43c82f6f5045c
This commit is contained in:
@ -44,7 +44,8 @@ class AdvancedMemoryImporter : public MemoryImporter {
|
|||||||
void insert_delayed_entries(bool finalizing);
|
void insert_delayed_entries(bool finalizing);
|
||||||
|
|
||||||
public:
|
public:
|
||||||
AdvancedMemoryImporter() : m_last_was_conditional_branch(false) {}
|
AdvancedMemoryImporter() : m_last_was_conditional_branch(false),
|
||||||
|
m_ip_jump_not_taken(0), m_cur_branchmask(0) {}
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
virtual std::string database_additional_columns();
|
virtual std::string database_additional_columns();
|
||||||
|
|||||||
@ -119,7 +119,10 @@ protected:
|
|||||||
*/
|
*/
|
||||||
bool sanitycheck(std::string check_name, std::string fail_msg, std::string sql);
|
bool sanitycheck(std::string check_name, std::string fail_msg, std::string sql);
|
||||||
public:
|
public:
|
||||||
Importer() : m_sanitychecks(false), m_import_write_ecs(true), m_extended_trace(false), m_row_count(0), m_time_trace_start(0) {}
|
Importer() : m_variant_id(0), m_elf(NULL), m_mm(NULL), m_faultspace_rightmargin('W'),
|
||||||
|
m_sanitychecks(false), m_import_write_ecs(true), m_extended_trace(false), db(NULL),
|
||||||
|
m_extended_trace_regs(NULL), m_row_count(0), m_time_trace_start(0),
|
||||||
|
m_last_ip(0), m_last_instr(0), m_last_time(0) {}
|
||||||
bool init(const std::string &variant, const std::string &benchmark, fail::Database *db);
|
bool init(const std::string &variant, const std::string &benchmark, fail::Database *db);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -25,7 +25,7 @@ class RegisterImporter : public Importer {
|
|||||||
|
|
||||||
public:
|
public:
|
||||||
RegisterImporter() : Importer(), do_gp(true), do_flags(false), do_ip(false),
|
RegisterImporter() : Importer(), do_gp(true), do_flags(false), do_ip(false),
|
||||||
do_split_registers(true) {}
|
do_split_registers(true), m_ip_register_id(0) {}
|
||||||
/**
|
/**
|
||||||
* Callback function that can be used to add command line options
|
* Callback function that can be used to add command line options
|
||||||
* to the cmd interface
|
* to the cmd interface
|
||||||
|
|||||||
Reference in New Issue
Block a user