gem5
v19.0.0.0
|
Go to the source code of this file.
Macros | |
#define | OMAGIC_STRUCT (*((const ecoff_exechdr *)omagic)) |
#define | NMAGIC_STRUCT (*((const ecoff_exechdr *)nmagic)) |
#define | ZMAGIC_STRUCT (*((const ecoff_exechdr *)zmagic)) |
#define | NO_MAGIC_STRUCT (*((const ecoff_exechdr *)no_magic)) |
Functions | |
TEST (ExecEcoffTest, Round) | |
TEST (ExecEcoffTest, NoRounding) | |
TEST (ExecEcoffTest, BlockAlignWithoutZmagic) | |
TEST (ExecEcoffTest, BlockAlignWithZmagic) | |
TEST (ExecEcoffTest, SegmentAlignWithZmagic) | |
TEST (ExecEcoffTest, SegmentAlignWithoutZmagic) | |
TEST (ExecEcoffTest, TxtOffWithMagic) | |
TEST (ExecEcoffTest, TxtOffWithoutMagic) | |
TEST (ExecEcoffTest, DatOffWithMagic) | |
TEST (ExecEcoffTest, DatOffWithoutMagic) | |
Variables | |
const uint8_t | zmagic [] |
const uint8_t | nmagic [] |
const uint8_t | omagic [] |
#define NMAGIC_STRUCT (*((const ecoff_exechdr *)nmagic)) |
Definition at line 37 of file exec_ecoff.test.cc.
Referenced by TEST().
#define NO_MAGIC_STRUCT (*((const ecoff_exechdr *)no_magic)) |
Definition at line 39 of file exec_ecoff.test.cc.
#define OMAGIC_STRUCT (*((const ecoff_exechdr *)omagic)) |
Definition at line 36 of file exec_ecoff.test.cc.
Referenced by TEST().
#define ZMAGIC_STRUCT (*((const ecoff_exechdr *)zmagic)) |
Definition at line 38 of file exec_ecoff.test.cc.
Referenced by TEST().
TEST | ( | ExecEcoffTest | , |
Round | |||
) |
Definition at line 162 of file exec_ecoff.test.cc.
References ECOFF_ROUND, and EXPECT_EQ.
TEST | ( | ExecEcoffTest | , |
NoRounding | |||
) |
Definition at line 180 of file exec_ecoff.test.cc.
References ECOFF_ROUND, and EXPECT_EQ.
TEST | ( | ExecEcoffTest | , |
BlockAlignWithoutZmagic | |||
) |
Definition at line 187 of file exec_ecoff.test.cc.
References ECOFF_BLOCK_ALIGN, EXPECT_EQ, and OMAGIC_STRUCT.
TEST | ( | ExecEcoffTest | , |
BlockAlignWithZmagic | |||
) |
Definition at line 199 of file exec_ecoff.test.cc.
References ECOFF_BLOCK_ALIGN, EXPECT_EQ, and ZMAGIC_STRUCT.
TEST | ( | ExecEcoffTest | , |
SegmentAlignWithZmagic | |||
) |
Definition at line 215 of file exec_ecoff.test.cc.
References ECOFF_SEGMENT_ALIGN, EXPECT_EQ, and ZMAGIC_STRUCT.
TEST | ( | ExecEcoffTest | , |
SegmentAlignWithoutZmagic | |||
) |
Definition at line 230 of file exec_ecoff.test.cc.
References ECOFF_SEGMENT_ALIGN, EXPECT_EQ, NMAGIC_STRUCT, and OMAGIC_STRUCT.
TEST | ( | ExecEcoffTest | , |
TxtOffWithMagic | |||
) |
Definition at line 254 of file exec_ecoff.test.cc.
References ECOFF_TXTOFF, EXPECT_EQ, and ZMAGIC_STRUCT.
TEST | ( | ExecEcoffTest | , |
TxtOffWithoutMagic | |||
) |
Definition at line 262 of file exec_ecoff.test.cc.
References ECOFF_ROUND, ECOFF_TXTOFF, EXPECT_EQ, NMAGIC_STRUCT, and OMAGIC_STRUCT.
TEST | ( | ExecEcoffTest | , |
DatOffWithMagic | |||
) |
Definition at line 294 of file exec_ecoff.test.cc.
References ECOFF_DATOFF, ECOFF_ROUND, ECOFF_TXTOFF, EXPECT_EQ, and ZMAGIC_STRUCT.
TEST | ( | ExecEcoffTest | , |
DatOffWithoutMagic | |||
) |
Definition at line 308 of file exec_ecoff.test.cc.
References ECOFF_DATOFF, ECOFF_TXTOFF, EXPECT_EQ, NMAGIC_STRUCT, and OMAGIC_STRUCT.
const uint8_t nmagic[] |
Definition at line 62 of file exec_ecoff.test.cc.
const uint8_t omagic[] |
Definition at line 81 of file exec_ecoff.test.cc.
const uint8_t zmagic[] |
Definition at line 43 of file exec_ecoff.test.cc.