It was researched that the aviation embedded airborne software testing , because of software quality and reliability assurance.In order to improve the efficiency of testing of airborne software, for airborne software features, this paper propose a method that achieves the coverage test and basic ways search taking compiler GCC technology to complete the program automatic instrumentation. The method leverages airborne software test process automation in terms of modifying compiler GCC to make instrumentation automatically.