DocumentCode :
679649
Title :
Towards Instruction Level Record and Replay of Sensor Network Applications
Author :
Lipeng Wan ; Qing Cao
Author_Institution :
Dept. of Electr. Eng. & Comput. Sci., Univ. of Tennessee, Knoxville, TN, USA
fYear :
2013
fDate :
14-16 Aug. 2013
Firstpage :
475
Lastpage :
484
Abstract :
Debugging wireless sensor network (WSN) applications has been complicated for multiple reasons, among which the lack of visibility is one of the most challenging. To address this issue, in this paper, we present a systematic approach to record and replay WSN applications at the granularity of instructions. This approach differs from previous ones in that it is purely software based, therefore, no additional hardware component is needed. Our key idea is to combine the static, structural information of the assembly-level code with their dynamic, run-time traces as measured by timestamps and basic block counters, so that we can faithfully infer and replay the actual execution paths of applications at instruction level in a post-mortem manner. The evaluation results show that this approach is feasible despite of the resource constraints of sensor nodes. We also provide two case studies to demonstrate that our instruction level record-and-replay approach can be used to: (1) discover randomness of EEPROM writing time, (2) localize stack smashing bugs in sensor network applications.
Keywords :
EPROM; program debugging; telecommunication computing; wireless sensor networks; EEPROM writing time randomness; assembly-level code; basic block counters; debugging WSN application; debugging wireless sensor network application; dynamic run-time traces; instruction granularity; instruction level record-and-replay approach; sensor node resource constraint; software-based approach; stack smashing bugs; static structural information; systematic approach; timestamps; Assembly; Computer bugs; Hardware; Instruments; Radiation detectors; Registers; Wireless sensor networks;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Modeling, Analysis & Simulation of Computer and Telecommunication Systems (MASCOTS), 2013 IEEE 21st International Symposium on
Conference_Location :
San Francisco, CA
ISSN :
1526-7539
Type :
conf
DOI :
10.1109/MASCOTS.2013.69
Filename :
6730804
Link To Document :
بازگشت