Additionally passing the current Bochs CPU context and instruction cache entry to BochsController (enables detailed instruction analysis and modification)
git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1361 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
This commit is contained in:
@ -1,15 +1,25 @@
|
||||
#ifndef __EXPERIMENT_INFO_HPP__
|
||||
#define __EXPERIMENT_INFO_HPP__
|
||||
|
||||
//experiment types:
|
||||
#define GPRFLIP 10
|
||||
#define IDCFLIP 20
|
||||
// the maximum number of bytes in a Bochs instruction
|
||||
#define MAX_INSTR_BYTES 15
|
||||
|
||||
#define L4SYS_FUNC_ENTRY 0x1007cd0
|
||||
#define L4SYS_FUNC_EXIT 0x1007d3a
|
||||
#define L4SYS_NUMINSTR 3184
|
||||
// the bounds of the program
|
||||
#define L4SYS_ADDRESS_SPACE 0x203d000
|
||||
#define L4SYS_FUNC_ENTRY 0x1000400
|
||||
#define L4SYS_FUNC_EXIT 0x10005b0
|
||||
#define L4SYS_NUMINSTR 56052772
|
||||
|
||||
#define L4SYS_ITERATION_COUNT 1
|
||||
|
||||
// several file names used
|
||||
#define L4SYS_STATE_FOLDER "l4sys.state"
|
||||
#define L4SYS_INSTRUCTION_LIST "ip.list"
|
||||
#define L4SYS_ALU_INSTRUCTIONS "alu.list"
|
||||
#define L4SYS_CORRECT_OUTPUT "golden.out"
|
||||
|
||||
// flags
|
||||
#define HEADLESS_EXPERIMENT
|
||||
#define EXPERIMENT_TYPE IDCFLIP
|
||||
//#define PREPARE_EXPERIMENT
|
||||
|
||||
#endif // __EXPERIMENT_INFO_HPP__
|
||||
|
||||
Reference in New Issue
Block a user