Files
fail/core/experiments/weathermonitor/experimentInfo.hpp

39 lines
1.0 KiB
C++

#ifndef __WEATHERMONITOR_EXPERIMENT_INFO_HPP__
#define __WEATHERMONITOR_EXPERIMENT_INFO_HPP__
// autogenerated, don't edit!
#define GUARDED_WEATHERMONITOR 0
#if !GUARDED_WEATHERMONITOR // without vptr guards
// main() address:
// nm -C vanilla.elf|fgrep main
#define WEATHER_FUNC_MAIN 0x00100f50
// Temperature::measure() address:
// nm -C vanilla.elf|fgrep 'Temperature::measure()'
#define WEATHER_FUNC_TEMP_MEASURE 0x001010f0
// number of instructions we want to observe
// 20k suffices for 4 measure() calls; we can do more later (without really learning more?)
#define WEATHER_NUMINSTR 20000
// data/BSS begin:
// nm -C vanilla.elf|fgrep ___DATA_START__
#define WEATHER_DATA_START 0x00102304
// data/BSS end:
// nm -C vanilla.elf|fgrep ___BSS_END__
#define WEATHER_DATA_END 0x00103bf4
// text begin:
// nm -C vanilla.elf|fgrep ___TEXT_START__
#define WEATHER_TEXT_START 0x00100000
// text end:
// nm -C vanilla.elf|fgrep ___TEXT_END__
#define WEATHER_TEXT_END 0x0010212b
#else // with guards
// XXX
#endif
#endif