CN102222041A - Test analysis system and method based on embedded software - Google Patents

Test analysis system and method based on embedded software Download PDF

Info

Publication number
CN102222041A
CN102222041A CN201110161469XA CN201110161469A CN102222041A CN 102222041 A CN102222041 A CN 102222041A CN 201110161469X A CN201110161469X A CN 201110161469XA CN 201110161469 A CN201110161469 A CN 201110161469A CN 102222041 A CN102222041 A CN 102222041A
Authority
CN
China
Prior art keywords
pitching pile
identification information
source code
result
code
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201110161469XA
Other languages
Chinese (zh)
Inventor
黄梅
张哲辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
SHENZHEN EXPRESS INFORMATION TECHNOLOGY Co Ltd
Original Assignee
SHENZHEN EXPRESS INFORMATION TECHNOLOGY Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by SHENZHEN EXPRESS INFORMATION TECHNOLOGY Co Ltd filed Critical SHENZHEN EXPRESS INFORMATION TECHNOLOGY Co Ltd
Priority to CN201110161469XA priority Critical patent/CN102222041A/en
Publication of CN102222041A publication Critical patent/CN102222041A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The invention is applied to the field of software tests, and provides a test analysis system and method based on embedded software; the system comprises a pile pitching machine, a pile pitching identification database generating unit, a data acquisition unit and a result analyzer, wherein the pile pitching machine is used for performing pile pitching on the source code compiled by a compiler; the pile pitching identification database generating unit is used for generating a pile pitching identification database according to the pile pitching result of the source code complied by the compiler; the data acquisition unit is used for monitoring and acquiring the running result capable of performing a target code from a target board and processing the running result capable of performing the target code to generate and store test data; and the result analyzer is used for performing associated comparison and analysis according to the pile pitching identification database generated by the pile pitching identification database generating unit and the test data stored by the data acquisition unit so as to acquire the test analysis result. In the invention, the advantages of test tools of pure software and pure hardware are better merged by establishing the test analysis system based on the embedded software in combination with software and hardware, and the test analysis objects are diversified.

Description

A kind of detecting and analysing system and method based on embedded software
Technical field
The invention belongs to the software test field, relate in particular to a kind of detecting and analysing system and method based on embedded software.
Background technology
Along with the progress and the element quality of computer hardware technology progressively improves, the integrated amount of element also increases greatly, thereby the hardware performance of embedded device is greatly improved; Meanwhile,, total system is operated on high performance, the reliable software platform, for the application that realizes various large-scale complexity is laid a good foundation by adopting ripe commercial embedded OS.In the face of the increase of system complexity, need embedded application software powerful, stable performance to adapt with it naturally.So the size of code of software is also increasing in the embedded system exploitation, the speed increment of the size of code of electronic product every two years just to turn over.Simultaneously, system requires again to use and will simplify efficiently, reliable and stable, and this makes that the exploitation of software shared importance in the total system exploitation is more and more higher, and the development time is also more and more longer, and the quality of software has played conclusive effect to the final mass of product.Therefore, pressing for a kind of instrument can carry out the test and the analysis of real-time online to the software of embedded system in each stages such as the veneer stage of software development, integrated stage, system's stages, to guarantee the performance and the reliability of system.
Popular on the market testing tool roughly is divided into the testing tool of pure software and the testing tool of pure hardware.Wherein, what the testing tool of pure software adopted is that software is got technology ready, promptly in tested code, insert some functions, main inlet, exit at function, and ground such as branch, insert specific function, so that the time that computing function is carried out, utilize these functions to realize the generation of test data, test data is delivered in the shared drive of Target Board system simultaneously.And in goal systems preprocessing tasks of operation, finish the pre-service of these test datas, the data after will handling then send back on the main frame on network interface by target machine or the serial ports, carry out follow-up analysis.By this process, the tester is known the running status that program is current.
From then on analyze as can be known, the testing tool of pure software needs to finish by means of user's target processor, promptly needs to take the resource on the Target Board.Simultaneously, the test philosophy of the testing tool of pure software has two characteristics that certainly exist---pitching pile function and preprocessing tasks.Analyze: because the existence of having inserted pitching pile function and preprocessing tasks increases the code of system, more seriously these codes can have very big influence (surpassing 50%) to the operational efficiency of system.Simultaneously, function itself will have its implementation procedure, and it will be finished the generation of data and keep in, and these functions also may be interrupted by the higher interrupt routine of other priority in its implementation procedure.Preprocessing tasks need take goal systems CPU processing time, shared drive and communication port finish the processing of data, data on give.Because the existence of these drawbacks, when adopting the pure software testing tool that goal systems is tested, the ownership goal system moves under a kind of false environment, and the data that we caught also are accurate inadequately.Adopt the testing tool of pure software that following deficiency is arranged:
Defective 1: lack performance evaluation, it can not be analyzed accurately to the time index of function in the ownership goal system and task run.
Defective 2: when doing coverage rate analysis,, and get the operation that too much will influence system ready because will get ready in a large number, can not be too big so can only do the procedure quantity of unit coverage rate analysis and unit.
Defective 3: the ability that Memory Allocation is analyzed and checked not.
Pure hardware testing instrument is example with the logic analyser, and logic analyser is by the dual-port flag register, and when code was carried out, the dual-port flag register put 1 to the code of carrying out simultaneously, by whether code is put 1, comes the situation of the current operation of determining program.Analyze: when system opens buffer memory (CACHE), get an instruction and then this code is put 1.And this instruction might not be carried out.Adopt the testing tool of pure hardware that following deficiency is arranged:
Defective 1: can adopt the instruction prefetch technology when CACHE opens us, from external memory, read one section code in one-level CACHE, at this moment logic analyser will report that these codes have been performed, but the code that in fact is sent among the CACHE may not be hit at all.Must close CACHE for fear of this error, and CACHE to turn off be not the real running environment of system just, sometimes even can cause system normally to move owing to CACHE closes.
Defective 2: the ability that Memory Allocation is analyzed and checked not.
To sum up, when prior art is carried out embedded software test by software or hardware testing instrument, exist: the code expansivity is too high, be interrupted easily, and the hardware plate resource of occupying is more, measuring accuracy and accuracy rate are not high, and the test analysis object is the problem of variation or the like inadequately.
Summary of the invention
The purpose of the embodiment of the invention is to provide a kind of detecting and analysing system based on embedded software, be intended to solve prior art and carry out embedded software test when analyzing, can not merge the advantage of pure software and pure hardware testing instrument preferably, and the diversified inadequately problem of test analysis object.
The embodiment of the invention is achieved in that a kind of detecting and analysing system based on embedded software, comprising:
The pitching pile device is used for carrying out pitching pile through the precompiler source code of compiler;
Pitching pile identification database generation unit is used for according to described pitching pile device the pitching pile result of described precompiler source code being generated the pitching pile identification database;
Data acquisition unit, be used for from the operation result of Target Board monitoring and collection executable object code, the operation result of described executable object code handled generating test data and preserve, the source code of described executable object code after by pitching pile generates through described compiler compiling, link;
The interpretation of result device carries out related contrast and analysis according to the pitching pile identification database that described pitching pile identification database generation unit generates with the test data that data acquisition unit is preserved, and obtains Measurement results.
Further, described pitching pile identification database comprises: identification information, described identification information comprises: coverage rate identification information, memory mark information, code flow identification information, test report identification information, performance label information, task identification information, call identification information, described Measurement results comprises following content: coverage rate analysis result, internal memory recalls information, code flow tracking results, test report, results of performance analysis, Mission Monitor result and call monitoring result.
Further, described when described source code is program file, described program file is at least one, and the storing path of program file was at least one when program file was a plurality of.
Further, described pitching pile device further comprises:
Driver module is used to call described compiler and carries out process of compilation;
Execution module is used for determining pitching pile position and pitching pile content, finishes at described compiler according to described pitching pile position and inserts the pitching pile content in the precompiler source code;
Described pitching pile identification database generation unit further comprises:
First processing module, pitching pile position and the interpolation content determined according to described execution module generate corresponding pitching pile identification information;
Second processing module, the pitching pile identification information that generates according to described first processing module generates the pitching pile identification database.
Further, described pitching pile content is an assignment statement, described pitching pile position comprises at least one pitching pile point, described data acquisition unit is that STD bus is connected with described Target Board connected mode, perhaps connect by gang socket, fly line, perhaps adapter connects, and highway width is 8 or 16 or 32.
Further, described Target Board comprises control bus, address bus and data bus, and a described pitching pile is put write signal on corresponding control bus or the address bus, and described data acquisition unit further comprises:
Monitoring module is used to monitor the control bus of described Target Board or the write signal of address bus;
Acquisition module, be used for described monitoring module monitor described Target Board control bus or during the write signal of address bus, catch the operation result of executable object code on the data bus of described Target Board and preserve.
Another purpose of the embodiment of the invention is to provide the method for testing and analyzing based on embedded software, may further comprise the steps:
To carrying out pitching pile through the precompiler source code of compiler;
Pitching pile result according to described precompiler source code generates the pitching pile identification database;
Operation result by executable object code on data acquisition unit monitoring and the collection Target Board, the operation result of described executable object code is handled the generation test data, and the source code of described executable object code after by pitching pile generates through described compiler compiling, link;
The test data of described pitching pile identification database and described data acquisition unit collection is carried out related contrast and analysis, obtain Measurement results.
Further, the described step that source code is carried out pitching pile is specially:
Determine pitching pile position and pitching pile content, in finishing precompiler source code, insert the pitching pile content according to described pitching pile position;
Described pitching pile position comprises at least one pitching pile point, and described pitching pile content is an assignment statement, and the step that described pitching pile result according to described precompiler source code generates the pitching pile identification database is specially:
Generate corresponding pitching pile identification information according to described pitching pile point and assignment statement;
Generate the pitching pile identification database according to described slotting identification information.
Further, described pitching pile position comprises at least one pitching pile point, a described pitching pile is put write signal on corresponding control bus or the address bus, described Target Board comprises control bus, address bus and data bus, describedly is specially by the data acquisition unit monitoring and the operation result step of gathering described the above executable object code of Target Board:
When data acquisition unit monitors the write signal of from described Target Board control bus or address bus, catch the operation result of executable object code on the data bus of described Target Board by data acquisition unit and preserve;
Described operation result to executable object code is handled the step that generates test data and is specially:
Operation result to executable object code is preserved, and pre-service generates test data and uploads.
Further, when described source code was program file, described program file was at least one, and the storing path of program file was at least one when program file was a plurality of; Described pitching pile identification information comprises: coverage rate identification information, memory mark information, code flow identification information, test report identification information, performance label information, task identification information, call identification information; Described Measurement results comprises following content: coverage rate analysis result, internal memory recalls information, code flow tracking results, test report, results of performance analysis, Mission Monitor result and call monitoring result.
The embodiment of the invention, by making up the detecting and analysing system based on embedded software of soft or hard combination, the pitching pile device of system is to carrying out pitching pile through the precompiler source code of compiler, pitching pile identification database generation unit generates the pitching pile identification database according to the pitching pile device to the pitching pile result of precompiler source code, data acquisition unit is from the operation result of Target Board monitoring and collection executable object code, the operation result of executable object code is handled generation test data and preservation, the test data that pitching pile identification database that the interpretation of result device generates according to pitching pile identification database generation unit and data acquisition unit are preserved compares and analyzes the test result of source code, obtain Measurement results, realized that internal memory calls analysis, satisfy and reduce the code expansivity, avoid interrupting, improve the requirement of measuring accuracy and accuracy rate when occupying resource on the less hardware plate, and the variation of test analysis object.
Description of drawings
Fig. 1 is the fundamental diagram based on the embedded software test analytic system that the embodiment of the invention provides;
Fig. 2 is the process flow diagram based on the embedded software test analytical approach that the embodiment of the invention provides;
Fig. 3 is the process flow diagram based on embedded software test that example of the present invention provides;
Fig. 4 is the internal memory pitching pile synoptic diagram that another example of the present invention provides.
Embodiment
In order to make purpose of the present invention, technical scheme and advantage clearer,, the present invention is further elaborated below in conjunction with drawings and Examples.Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
The embodiment of the invention, a kind of detecting and analysing system based on embedded software is provided, by making up the detecting and analysing system based on embedded software of soft or hard combination, the pitching pile device of system is to carrying out pitching pile through the precompiler source code of compiler, data acquisition unit is from the operation result of Target Board monitoring and collection executable object code, the operation result of executable object code is handled generation test data and preservation, the test data that pitching pile identification database that the interpretation of result device generates according to pitching pile identification database generation unit and data acquisition unit are preserved compares and analyzes the test result of source code, obtains Measurement results.
Fig. 1 shows the principle of work into the detecting and analysing system based on embedded software provided by the invention.For convenience of explanation, only show relevant portion with the embodiment of the invention.Should can be the unit that the software unit, hardware cell or the software and hardware that are built in embedded device combines based on detecting and analysing system of embedded software, perhaps be integrated in the application system of embedded device as suspension member independently.
In embodiments of the present invention, the detecting and analysing system based on embedded software comprises: pitching pile device 11, pitching pile identification database 12, data acquisition unit 13 and interpretation of result device 14.Source code 15, compiler 16 and Target Board 17 are provided by the provider of source code correspondence to be measured.
The detailed process that realizes the embedded software test analysis based on the detecting and analysing system of embedded software is as follows: compiler 16 at first carries out precompile to source code 15,11 pairs of processes of pitching pile device compiler, 16 precompiler source codes carry out pitching pile, and the source code behind the pitching pile sent to compiler 16 once more, source code behind 16 pairs of pitching piles of compiler carries out complete compiling once more and the link processing obtains executable object code, executable object code is downloaded to Target Board 17, pitching pile identification database generation unit 12 generates corresponding pitching pile identification database according to the pitching pile result of 11 pairs of precompiler source codes of pitching pile device; Data acquisition unit 13 handles to generate test data and preserve being uploaded to interpretation of result device 14 simultaneously from the operation result of Target Board 17 monitoring and collection executable object code to operation result; The test data that interpretation of result device 14 is uploaded according to the pitching pile in the pitching pile identification database 13 sign content and data acquisition unit 14 is carried out association and is compared, thereby the test result of source code is compared analysis, obtains Measurement results.
In one embodiment of the invention, pitching pile device 11 further comprises:
The compiling driver module is used for by compiler 16, realizes source code is carried out precompile, and the source code behind the pitching pile is carried out complete compiling once more;
Execution module is used for determining the particular location of pitching pile and the particular content of pitching pile, according to the pitching pile position, in the source code after precompile is finished, according to the pitching pile strategy, inserts concrete pitching pile content.
In embodiments of the present invention, pitching pile identification database generation unit 12 further comprises:
First processing module, pitching pile position and pitching pile content according to execution module is determined generate corresponding pitching pile identification information;
Second processing module, the pitching pile identification information according to first processing module generates generates the pitching pile identification database.
In embodiments of the present invention, Target Board 17 comprises control bus, address bus and data bus, and data acquisition unit 14 further comprises:
Monitoring module is used for the appearance of specific " writing " signal on the control bus and address bus on the monitoring objective plate 17;
Acquisition module is used for monitoring on the control bus of Target Board 17 or the address bus specific " writing " at monitoring module and catches the data of the correspondence that occurs on the data bus of Target Board 17 when signal occurs, and can carry out the real data of object code operation.
Data acquisition unit 14 can also comprise: pretreatment module, be used for the data of acquisition module collection are kept in, and do pre-service, pass main frame back on then.
During concrete the application, Target Board 13 is connected modes such as STD bus, socket, fly line, adapter with the connected mode of data acquisition unit 14.STD bus is CPCI or PCI or PMC or VME, and standard gang socket is mictor38 or mictor190 or dual-in-line, and private adapter is PPC860 or PPC750 or PPC603E or M68040.Highway width is 8,16, or 32.Support the data buffering internal memory of 256M-521M, 100M-1000M network interface, serial ports etc.Data acquisition unit 14 is that internet is connected with the connected mode of main frame.
Wherein, pitching pile identification database 12 comprises identification information, and identification information comprises: coverage rate identification information, memory mark information, code flow identification information, test report identification information, performance label information, task identification information, call identification information.Measurement results comprises following content: coverage rate analysis result, internal memory recalls information, code flow tracking results, test report, results of performance analysis, Mission Monitor result and call monitoring result.
When source code was program file, program file was at least one, and the storing path of program file was at least one when program file was a plurality of.Can realize the parallel processing of a plurality of program files based on the detecting and analysing system of embedded software in the embodiment of the invention.
In a preferred embodiment of the present invention, detecting and analysing system based on embedded software comprises the pitching pile device, the pitching pile content is an assignment statement, and the pitching pile device is sent into the mark that inserts and generated a pitching pile identification database in the data library file and keep in, in order to calling for post analysis the time.The pitching pile position comprises at least one pitching pile point.When this class assignment statement runs on the Target Board through compiling link generation executable object code, on control bus and address bus, show as " a writing " signal, can be captured by hardware probe (data acquisition unit).
In another preferred embodiment of the present invention, data acquisition unit 14 comprises at least one hardware probe, it is the signal capture probe, be used for monitoring " writing " signal from Target Board 17 control buss and address bus, when monitoring " writing " signal, data corresponding on the data bus are caught, carry out collecting work for generating test data.
In the preferred embodiment of the present invention, compiler 16 and hardware Target Board 17 are provided by the provider of source code correspondence to be measured, based on the detecting and analysing system of embedded software, realize that the process of test analysis is specific as follows:
At first, the compiling driver module of the pitching pile device of system, call 16 pairs of source codes of compiler and carry out precompile, and then source code carried out pitching pile, and then compile driver module and call original compiler 16 once more, the source code behind the pitching pile is compiled and links, generate executable object code, when precompiler source code was carried out pitching pile, pitching pile identification database generation unit 12 generated corresponding pitching pile identification database 12 according to all relevant informations of pitching pile of precompiler source code;
Then, executable object code is downloaded to 17 operations on the Target Board by compiler 16;
Like this, data acquisition unit 14 monitors specific " writing " signal that pitching pile generates from the address bus of Target Board 17 and control bus when, gather the operation result data of corresponding executable object code from the data bus of Target Board 17, preserve the operation result data of executable object code, and it is carried out pre-service, generate test data, upload Integrated Development Environment (the Integrated Development of test data management platform to the main frame then, IDE) in, give interpretation of result device 15 and handle;
At last, interpretation of result device 14 carries out related comparative analysis with the test data that data in the pitching pile identification database 12 and data acquisition unit collect, and obtains Measurement results.
Thus, can learn the running status of present procedure.And can finish performance evaluation to tested embedded software, senior coverage rate analysis, memory analysis and jumbo code tracking, Mission Monitor and call monitoring etc.
Show as Fig. 2 and to be the embodiment of the invention, the process flow diagram of the embedded software test analytical approach that provides.
In step S201, to carrying out pitching pile through the precompiler source code of compiler.
The embodiment of the invention is supported the pitching pile to assembly language such as C language and 51, ARM, PPC, 68K.Can also can carry out pitching pile to a file to the file under the catalogue.
Wherein, the step of among the step S201 source code being carried out pitching pile is specially:
Determine pitching pile position and pitching pile content, finish precompiler source code insertion pitching pile content according to the pitching pile position.
In the real world applications, the pitching pile position comprises at least one pitching pile point, and in embodiments of the present invention, the implantation of software probe will be accomplished compact keen-witted and capable, and it is irredundant comprehensively that the ability guarantee information is collected, and reduces the expansivity of code simultaneously.Usually program is divided substantially based on " piece " structure.Divide according to block structured, the position of pitching pile is positioned at the following several places of precompiler source code: the first statement of a. program; B. the beginning of branch statement; C. the beginning of loop statement; D. the statement before the next entry statement; E. the end statement of program; F. the end of branch statement; G. the end of loop statement; H. in definition place of internal memory call function.In addition, according to the difference that coverage test requires, except top said several situations, the position of pitching pile also can change to some extent along with the difference that coverage test requires.Specifically no longer describe in detail.
In the preferred embodiment of the present invention, the pitching pile content is an assignment statement, inserts assignment statement and also can carry out the coverage rate trace analysis to code, simultaneously, because assignment statement also is a statement when compilation, and the time of carrying out is very short, avoided being interrupted the efficient height by other interrupt request.In addition, insert different software probe, adopt corresponding pitching pile strategy to be inserted in different key positions, also can reduce the expansivity of code, the efficient that the assurance program is carried out according to different test requests.
Wherein, compiler and source code are provided by the provider of source code correspondence to be measured.
In step S202, generate the pitching pile identification database according to the pitching pile result of precompiler source code.
During concrete the application, the pitching pile position comprises at least one pitching pile point, and the pitching pile content is an assignment statement, and step S202 step is specially:
Generate corresponding pitching pile identification information according to pitching pile point and assignment statement;
Generate the pitching pile identification database according to slotting identification information.
Wherein, the pitching pile identification information recording relevant information of pitching pile, pitching pile positional information for example, in embodiments of the present invention, the pitching pile identification information is preserved with fileinfo, for the ease of carry out related, comparison with test data, analysis management is used, and after pitching pile is finished, makes up the pitching pile identification database automatically according to a plurality of pitching pile identification information corresponding file that generate.
In step S203, by the operation result of executable object code on data acquisition unit monitoring and the collection Target Board, the operation result of executable object code is handled, generate test data.
Wherein, the source code of described executable object code after by pitching pile generates through described compiler compiling, link, and the manufacturer by source code correspondence to be measured on the Target Board provides.Target Board comprises control bus, address bus and data bus, and in embodiments of the present invention, a pitching pile is put " writing " signal on corresponding control bus or the address bus.
Operation result step by executable object code on data acquisition unit monitoring and the collection Target Board among the step S203 is specially:
When data acquisition unit monitored " writing " signal of control bus on the Target Board or address bus, data acquisition unit was caught corresponding object code execution result to the data bus of Target Board, and preserved.
Operation result to executable object code among the step S203 is handled, and the step that generates test data is specially:
Operation result to executable object code carries out pre-service, generates test data, passes the interpretation of result device back on then.
In step S204, the test data of pitching pile identification database and data acquisition unit collection is carried out related contrast and analysis, obtain Measurement results.
In embodiments of the present invention, adopt the operation conditions of code on the graphical evaluating objects plate.Mainly comprise: static details such as document code note, statistical information.The call relation of file.The static call of function, dynamic call relation.Be specially:
1) document code note statistics: show the pitching pile number of files, the code line of each file, comment line, static informations such as space line.
2) file calls: graphical display file is dynamic, the static call relation.In the time of dynamic demonstration, the file of carrying out will become light tone.
3) function call: tree structure is dynamic, the static call relation of explicit function intuitively.In the time of dynamic demonstration, the function of carrying out will become light tone.
Wherein, when source code was program file, program file was at least one, and the storing path of program file was at least one when program file was a plurality of; The pitching pile identification information comprises: coverage rate identification information, memory mark information, code flow identification information, test report identification information, performance label information, task identification information, call identification information; Measurement results comprises following content: coverage rate analysis result, internal memory recalls information, code flow tracking results, test report, results of performance analysis, Mission Monitor result and call monitoring result.
Fig. 3 shows the treatment scheme of the embedded software test that example of the present invention provides.
As an example of the present invention, this example uses the C/C++ language to write, and the software test workflow is specific as follows:
In step S301, source code is carried out precompile.
In step S302, pretreated source code is carried out pitching pile, generate the .idb file, preserve as the pitching pile identification database.
Source code pitching pile technology is first core procedure and gordian technique.For the multianalysis source code makes marks.Mark is exactly the write signal to physical address, can be arrived by hardware probe Acquisition Detection.For example:
Figure BSA00000518472600121
Figure BSA00000518472600131
The embodiment of the invention is supported the pitching pile to assembly language such as C language and 51, ARM, PPC, 68K.Simultaneously can carry out pitching pile, also can carry out pitching pile the All Files under the catalogue to a file.
According to the pitching pile strategy, determine pitching pile position and pitching pile content after, in finishing precompiler source code, insert the pitching pile content according to the pitching pile position.
In the real world applications, the pitching pile position comprises at least one pitching pile point, and in embodiments of the present invention, the implantation of software probe will be accomplished compact keen-witted and capable, and it is irredundant comprehensively that the ability guarantee information is collected, and reduces the expansivity of code simultaneously.Usually program is divided substantially based on " piece " structure.Divide according to block structured, the position of pitching pile is positioned at the following several places of precompiler source code: the first statement of a. program; B. the beginning of branch statement; C. the beginning of loop statement; D. the statement before the next entry statement; E. the end statement of program; F. the end of branch statement; G. the end of loop statement; H. in definition place of internal memory call function.In addition, according to the difference that coverage test requires, except top said several situations, the position of pitching pile also can change to some extent along with the difference that coverage test requires.
In the preferred embodiment of the present invention, the pitching pile content is an assignment statement, because assignment statement also is a statement when compilation, the execution time is very short, has avoided being interrupted by other interrupt request the efficient height.In addition, insert different software probe, adopt corresponding pitching pile strategy, be inserted in different key positions, can reduce the expansivity of code, the efficient that the assurance program is carried out according to different test requests.
Generate corresponding pitching pile identification information according to pitching pile position and pitching pile content (assignment statement); Automatically make up the pitching pile identification database according to slotting identification information corresponding file.Be convenient to carry out related, comparison with the follow-up test data, analysis management is used.
In step S303, will unify compiling link through the source code behind the pitching pile and generate the .out file, as carrying out object code.
In step S304, can carry out object code, download on the Target Board and move.
Source code after each pitching pile point inserts assignment statement, generate object code through compiling link, download to when moving on the Target Board, corresponding specific " writing " signal that can generate on control bus or the address bus, this " is write " signal and can be captured by hardware probe (data acquisition unit).That is to say " a writing " signal, corresponding corresponding pitching pile point.
In step S305, monitor working procedure on the Target Board when running to pitching pile point by data acquisition unit, gather corresponding operation result data from data bus, temporary, pre-service, generate test data, afterwards test data is passed through LAN (Local Area Network), in the interpretation of result device on the work backstage that sends to.
In step S306, by the interpretation of result device,,, carry out related comparative analysis in conjunction with the data in the .idb file layout in the pitching pile identification database according to the test data that obtains, obtain test result.
Fig. 4 is the internal memory pitching pile synoptic diagram that another example of the present invention provides.
Locate at internal memory call function of user application etc., utilize the pitching pile device, carry out pitching pile and promptly stamp memory marker, then with the application program behind the pitching pile, again with former C/C++ content canned program, and task hook program (Mission Monitor executive routine) carries out unified compiling through compiler, links through linker afterwards and finishes.
In this example, the interpretation of result device is used for test analysis, with swich, while, do-while, the pitching pile of several syntactic structures of for are example, they all support condition criterion, Boolean expression place at each conditional expression implants software probe, carries out the variation-tracking value, can determine that it is capped situation.Simultaneously also carried out corresponding pitching pile and understood calling and distribution condition of internal memory at internal memory call function place.And created the task hook and can carry out Mission Monitor and call monitoring.Carry out performance evaluation simultaneously, and code flow is followed the tracks of.
The embodiment of the invention is followed the trail of by source code level, and control stream is followed the trail of, and three kinds of patterns of senior tracking, the ruuning situation of following the trail of embedded software.Maximum track depth can reach 1,000,000 source code level programs, wherein:
Senior tracking: demonstration be real-time system (Real-time operating system, entering of incident RTOS) and function withdrawed from, and provides the large-block schema of a program circuit;
Control stream is followed the trail of: increased the demonstration that can carry out each bar branch statement in the function;
Source code level is followed the trail of: increased the demonstration to the whole statements that are performed.
Under above three kinds of patterns, all can show detailed Memory Allocation situation, which source code file which is included in, which function call the distribution or the release of internal memory, the size of the internal memory that is assigned with and pointer, d/d internal memory and pointer, the EMS memory error of appearance etc.
Common pure software testing tool, because adopted the common pitching pile technology of getting ready, can cause the expansivity of source code higher, influencing source code moves really, take on the hardware plate resource simultaneously and carry out preprocessing tasks, this CPU processing time, shared drive and communication port that need take target hardware plate system finish data processing, data on send etc., thereby make test result with a low credibility; Simultaneously can't carry out analytical review, also can't realize performance evaluation, can't carry out Mission Monitor and call monitoring Memory Allocation.
And common pure hardware testing instrument because adopted common bus sampled data mechanism, can cause data inaccurate or even wrong.Simultaneously also can't carry out analytical review, can't realize performance evaluation, can't carry out Mission Monitor and call monitoring Memory Allocation.
The detecting and analysing system based on embedded software of the embodiment of the invention, employing is based on the source code pitching pile technology of inserting assignment statement and the corresponding pitching pile identification database of generation, what insert is not a function, but assignment statement, when compilation also is a statement, so the execution time is very short, avoided simultaneously being interrupted by other interrupt request.Simultaneously, introduce the independently system architecture of hardware assistant software, promptly adopt data acquisition unit, be directly connected to tested system, promptly adopted the software and hardware integration designing technique, the resource that does not need to take on the Target Board is deposited test data and is moved extra preprocessing tasks etc., therefore, the influence of system under test (SUT) is dropped to minimum, less than 5%, the code expansivity is less than 5% to the influence of CPU.In addition, it no longer is the mode of common sampling, but adopts the mode of real-time monitoring system bus, promptly, just initiatively to data bus, data capture is returned, therefore when program run during to the particular point that inserts, under same processing power, native system can be accomplished accurate data observation.Make test data accurate.Native system supports multiple open language to mention multiple embedded OS platforms such as OSE/VxWorks/QNX/Linux.
In addition, the present invention also has following 3 advantages except having outside above two technological innovation advantage (special source code pitching pile technology, software and hardware integration designing technique):
1. performance evaluation: can carry out non-sampling property testing to a plurality of functions simultaneously, accurately calculate based on real-time system (Real-time operating system, RTOS) each function or task executions time or interval under, and can list its minimum and maximum execution time.For calling also and can count between per two functions or the task, thus calling of confirming wherein to fail.For the optimization of built-in application program provides foundation, make the Developmental Engineer of embedded software, can optimize some critical function or module targetedly, to improve the overall performance of whole software;
2. Mission Monitor: comprise the establishment of monitor task, the switching of task, the deletion of task, task executions time etc.For the optimization of task provides foundation.
3. call monitoring: promptly can exchange with function monitoring, when calling when taking place, can know which calls has taken place, and call relation each other, thereby the Developmental Engineer can understand the framework and all kinds of call relation of program clearly.
To sum up, the embodiment of the invention can be carried out the test analysis of comprehensive degree of depth to tested program, by the embodiment of the invention, and the embedded software test analytic system that provides, the function that can realize comprises:
1) coverage rate analysis: source code level (function level) can be provided, and overall coverage condition.Be a kind of interactive tools completely, can when system is operated, follow the trail of the situation of coverage rate.Source code file be can open, the code and the branch that carried out shown.What pitching pile file, function were provided gathers coverage rate information etc.Coverage rate information comprises: all the elements of the actual execution of program.Moved and off-duty code with the different colours differentiation.Can follow the tracks of the situation of big flow function, particularly multiple-limb, be particularly suitable for the embedded software of testing large.Its middle-and-high-ranking coverage rate analysis function can expand to the simple statement covering function decision-making and cover and the conditional decision covering function.
2) internal memory calls analysis: can analyze and check Memory Allocation and calling.Can analyze and show how many bytes of memory devices, be assigned to which function of program.Like this, just be not difficult to find those functions, taken more storage space, and those functions do not discharge corresponding storage space.Can observe all distribution condition of storer by the present invention.Therefore, along with the operation of program, the dynamic change situation (increase/minimizing) of storer can count the distribution condition of all internal memories.So, can point out the mistake of memory allocation, and can see the content of the source program that it is corresponding simultaneously along with the operation of program.
3) code flow is followed the tracks of: can follow the trail of by source code level, control stream is followed the trail of, and three kinds of patterns of senior tracking, the ruuning situation of following the trail of embedded software.Maximum track depth can reach 1,000,000 source code level programs, wherein:
Senior tracking: demonstration be that incident and the entering of function of RTOS withdrawed from, and provide the large-block schema of a program circuit; Control stream is followed the trail of: increased the demonstration that can carry out each bar branch statement in the function; Source code level is followed the trail of: increased the demonstration to the whole statements that are performed.Under above three kinds of patterns, all can show detailed Memory Allocation situation, which source code file which is included in, which function call the distribution or the release of internal memory, the size of the internal memory that is assigned with and pointer, d/d internal memory and pointer, the EMS memory error of appearance etc.
4) test report generates: provide detailed, patterned, the report of merging test result can allow the user see complete test result.
5) performance evaluation: can carry out non-sampling property testing to a plurality of functions simultaneously, accurately calculate the execution time or the interval of each function or task (under RTOS), and can list its minimum and maximum execution time.For calling also and can count between per two functions or the task, thus calling of confirming wherein to fail.The performance evaluation function can provide foundation for the optimization of built-in application program, makes the Developmental Engineer of embedded software, can optimize some critical function or module targetedly, to improve the overall performance of whole software.
6) Mission Monitor: the monitoring to task is provided.Realize the establishment of monitor task, the switching of task, the deletion of task, task executions time etc.For the optimization of task provides foundation.
7) call monitoring: can be to calling function to monitoring, when calling when taking place, can know which calls has taken place, and call relation each other makes the Developmental Engineer can understand the framework and all kinds of call relation of program clearly.
The embodiment of the invention, having drawn software there from the testing tool of pure software gets technology ready and improves, promptly simplify and insert content and corresponding structure pitching pile identification database, drawn from bus from the testing tool of pure hardware simultaneously there and caught the technology of data and improve, promptly no longer adopt the mode of sampling as common pure hardware testing instrument, but the mode of employing real-time monitoring system bus, when program run during to the particular point that inserts, just initiatively to data bus, data capture is returned, therefore, be the online dynamic real-time system level testing of hardware assistant software and the white box instrument of analysis, under same processing power, can accomplish accurate data observation.Make the accuracy and the efficient of test be highly improved.
At existing pure software or pure hardware embedded testing instrument, and the integrated embedded testing instrument of soft or hard of the present invention design, three's test performance is analyzed, see following table for details:
The test performance contrast of table 1 the technology of the present invention and prior art
Figure BSA00000518472600181
Can see that compared with prior art, the embedded software test analysis tool of the present invention's design has than remarkable advantages.
The embodiment of the invention is by making up the embedded software test analytic system of soft or hard combination, realized reduction code expansivity, avoided interrupting, the resource while of occupying less hardware plate, the target call of raising measuring accuracy and accuracy rate, and the variation of test analysis object.Also can be used as network tool shares.For the user provides the high-level efficiency solution of real-time online dynamic test, can adapt to from cell level, integrated level, up to the system-level application that waits each stage.But application comprises the embedded software developing test of all kinds of enterprises of a plurality of industries such as telecommunications, Aero-Space, weapons boats and ships.
The above only is preferred embodiment of the present invention, not in order to restriction the present invention, all any modifications of being done within the spirit and principles in the present invention, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. detecting and analysing system based on embedded software comprises:
The pitching pile device is used for carrying out pitching pile through the precompiler source code of compiler;
Pitching pile identification database generation unit is used for according to described pitching pile device the pitching pile result of described precompiler source code being generated the pitching pile identification database;
Data acquisition unit, be used for from the operation result of Target Board monitoring and collection executable object code, the operation result of described executable object code handled generating test data and preserve, the source code of described executable object code after by pitching pile generates through described compiler compiling, link;
The interpretation of result device carries out related contrast and analysis with the test data that data acquisition unit is preserved to the test result of source code according to the pitching pile identification database that described pitching pile identification database generation unit generates, and obtains Measurement results.
2. the system as claimed in claim 1, it is characterized in that, described pitching pile identification database comprises identification information, described identification information comprises: coverage rate identification information, memory mark information, code flow identification information, test report identification information, performance label information, task identification information, call identification information, described Measurement results comprises following content: coverage rate analysis result, internal memory recalls information, code flow tracking results, test report, results of performance analysis, Mission Monitor result and call monitoring result.
3. the system as claimed in claim 1 is characterized in that, and is described when described source code is program file, and described program file is at least one, and the storing path of program file was at least one when program file was a plurality of.
4. as claim 1 or 2 or 3 described systems, it is characterized in that described pitching pile device further comprises:
Driver module is used to call described compiler and carries out process of compilation;
Execution module is used for determining pitching pile position and pitching pile content, finishes at described compiler according to described pitching pile position and inserts the pitching pile content in the precompiler source code;
Described pitching pile identification database generation unit further comprises:
First processing module, pitching pile position and the interpolation content determined according to described execution module generate corresponding pitching pile identification information;
Second processing module, the pitching pile identification information that generates according to described first processing module generates the pitching pile identification database.
5. system as claimed in claim 4, it is characterized in that, described pitching pile content is an assignment statement, described pitching pile position comprises at least one pitching pile point, described data acquisition unit is that STD bus is connected with described Target Board connected mode, perhaps connect by gang socket, fly line, perhaps adapter connects, and highway width is 8 or 16 or 32.
6. system as claimed in claim 5 is characterized in that described Target Board comprises control bus, address bus and data bus, and a pitching pile is put write signal on corresponding control bus or the address bus, and described data acquisition unit further comprises:
Monitoring module is used to monitor the control bus of described Target Board or the write signal of address bus;
Acquisition module, be used for described monitoring module monitor described Target Board control bus or during the write signal of address bus, catch the operation result of executable object code on the data bus of described Target Board and preserve.
7. method for testing and analyzing based on embedded software may further comprise the steps:
To carrying out pitching pile through the precompiler source code of compiler;
Pitching pile result according to described precompiler source code generates the pitching pile identification database;
Operation result by executable object code on data acquisition unit monitoring and the collection Target Board, the operation result of described executable object code is handled the generation test data, and the source code of described executable object code after by pitching pile generates through described compiler compiling, link;
The test data of described pitching pile identification database and described data acquisition unit collection is carried out related contrast and analysis, obtain Measurement results.
8. method as claimed in claim 7 is characterized in that, the described step that source code is carried out pitching pile is specially:
Determine pitching pile position and pitching pile content, in finishing precompiler source code, insert the pitching pile content according to described pitching pile position;
Described pitching pile position comprises at least one pitching pile point, and described pitching pile content is an assignment statement, and the step that described pitching pile result according to described precompiler source code generates the pitching pile identification database is specially:
Generate corresponding pitching pile identification information according to described pitching pile point and assignment statement;
Generate the pitching pile identification database according to described slotting identification information.
9. method as claimed in claim 8, it is characterized in that, described pitching pile position comprises at least one pitching pile point, a described pitching pile is put write signal on corresponding control bus or the address bus, described Target Board comprises control bus, address bus and data bus, describedly is specially by the data acquisition unit monitoring and the operation result step of gathering described the above executable object code of Target Board:
When data acquisition unit monitors the write signal of control bus on the described Target Board or address bus, catch the operation result of executable object code on the data bus of described Target Board by data acquisition unit and preserve;
Described operation result to executable object code is handled the step that generates test data and is specially:
Operation result to described executable object code is preserved, and pre-service generates test data and uploads.
10. method as claimed in claim 7 is characterized in that, when described source code was program file, described program file was at least one, and the storing path of program file was at least one when program file was a plurality of; Described pitching pile identification information comprises: coverage rate identification information, memory mark information, code flow identification information, test report identification information, performance label information, task identification information, call identification information; Described Measurement results comprises following content: coverage rate analysis result, internal memory recalls information, code flow tracking results, test report, results of performance analysis, Mission Monitor result and call monitoring result.
CN201110161469XA 2011-06-15 2011-06-15 Test analysis system and method based on embedded software Pending CN102222041A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110161469XA CN102222041A (en) 2011-06-15 2011-06-15 Test analysis system and method based on embedded software

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110161469XA CN102222041A (en) 2011-06-15 2011-06-15 Test analysis system and method based on embedded software

Publications (1)

Publication Number Publication Date
CN102222041A true CN102222041A (en) 2011-10-19

Family

ID=44778597

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110161469XA Pending CN102222041A (en) 2011-06-15 2011-06-15 Test analysis system and method based on embedded software

Country Status (1)

Country Link
CN (1) CN102222041A (en)

Cited By (28)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103186454A (en) * 2011-12-28 2013-07-03 上海市软件评测中心有限公司 Detection method for releaser embedded type software
CN103425571A (en) * 2012-05-23 2013-12-04 腾讯科技(深圳)有限公司 Source code completeness detecting method and device
CN104111890A (en) * 2014-07-29 2014-10-22 北京航空航天大学 Real-time performance test method and system
CN104281518A (en) * 2013-07-02 2015-01-14 腾讯科技(深圳)有限公司 Terminal application test method, device, system and platform and mobile terminal
CN104360949A (en) * 2014-11-29 2015-02-18 中国航空工业集团公司第六三一研究所 A-grade software object code coverage analysis method conforming to DO-178B/C
CN104731566A (en) * 2013-12-19 2015-06-24 华为软件技术有限公司 Testing device, method and system for IDE (Integrated Development Environment)
CN104834859A (en) * 2015-04-24 2015-08-12 南京邮电大学 Method for dynamically detecting malicious behavior in Android App (Application)
CN105630668A (en) * 2014-12-01 2016-06-01 深圳市腾讯计算机系统有限公司 Test method and apparatus
CN105912379A (en) * 2016-04-01 2016-08-31 青岛海信电器股份有限公司 Management method of compiling tasks and management device for compiling tasks
CN105955239A (en) * 2016-05-26 2016-09-21 上海添测智能科技有限公司 General test platform rapid construction method based on shared memory
CN106874187A (en) * 2016-12-29 2017-06-20 腾讯科技(深圳)有限公司 code coverage collection method and device
CN106980496A (en) * 2017-01-18 2017-07-25 上海爱韦讯信息技术有限公司 Tool integration method and system based on FOG data/address bus
CN107315679A (en) * 2017-05-12 2017-11-03 昆明奥多智能科技有限公司 A kind of embedded software automation exact p-value method and test system
CN107391375A (en) * 2017-07-25 2017-11-24 北京计算机技术及应用研究所 Perform the method for obtaining sentence and branch covering rate during C25 assembler languages
CN107797913A (en) * 2016-09-07 2018-03-13 大陆汽车电子(连云港)有限公司 A kind of software analysis System and method for of real-time system
CN110389895A (en) * 2019-06-14 2019-10-29 平安科技(深圳)有限公司 Terminal test method, device, computer equipment and storage medium
CN110704303A (en) * 2019-09-05 2020-01-17 深圳开源互联网安全技术有限公司 Method and device for acquiring test coverage information
CN110837466A (en) * 2019-10-15 2020-02-25 中国电子科技集团公司第三十研究所 Embedded software dynamic test method based on source code piling
CN110858172A (en) * 2018-08-23 2020-03-03 北京京东尚科信息技术有限公司 Automatic test code generation method and device
CN111736846A (en) * 2020-06-15 2020-10-02 南京航空航天大学 Dynamic analysis-oriented source code instrumentation improvement method
CN112241366A (en) * 2020-09-23 2021-01-19 厦门亿联网络技术股份有限公司 Embedded equipment testing method and device and electronic equipment
CN113297064A (en) * 2020-07-29 2021-08-24 阿里巴巴集团控股有限公司 Code coverage rate testing method, system, equipment and storage medium
CN113377379A (en) * 2021-08-12 2021-09-10 四川腾盾科技有限公司 Simulator instruction instrumentation-based operating system information statistical method
CN113645315A (en) * 2021-10-13 2021-11-12 杭州乒乓智能技术有限公司 Method and system for automatically uploading static resources by code editor
CN115237728A (en) * 2022-09-26 2022-10-25 东方电子股份有限公司 Visual monitoring method for real-time operating system running state
CN115357513A (en) * 2022-09-06 2022-11-18 清华大学 Program fuzzing test method, device, equipment and storage medium
CN115562962A (en) * 2022-09-28 2023-01-03 北京百度网讯科技有限公司 Method and device for analyzing model reasoning performance and electronic equipment
CN115658370A (en) * 2022-11-18 2023-01-31 辉羲智能科技(上海)有限公司 Compiler-based real-time detection method for machine learning acceleration chip faults

Cited By (40)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103186454A (en) * 2011-12-28 2013-07-03 上海市软件评测中心有限公司 Detection method for releaser embedded type software
CN103425571A (en) * 2012-05-23 2013-12-04 腾讯科技(深圳)有限公司 Source code completeness detecting method and device
CN103425571B (en) * 2012-05-23 2016-04-13 腾讯科技(深圳)有限公司 A kind of source code integrality detection method and device
CN104281518A (en) * 2013-07-02 2015-01-14 腾讯科技(深圳)有限公司 Terminal application test method, device, system and platform and mobile terminal
CN104731566A (en) * 2013-12-19 2015-06-24 华为软件技术有限公司 Testing device, method and system for IDE (Integrated Development Environment)
CN104731566B (en) * 2013-12-19 2018-12-25 华为软件技术有限公司 Integrated Development Environment test device, method and system
CN104111890A (en) * 2014-07-29 2014-10-22 北京航空航天大学 Real-time performance test method and system
CN104111890B (en) * 2014-07-29 2018-01-16 北京航空航天大学 A kind of real-time performance testing method and system
CN104360949B (en) * 2014-11-29 2017-05-17 中国航空工业集团公司第六三一研究所 A-grade software object code coverage analysis method conforming to DO-178B/C
CN104360949A (en) * 2014-11-29 2015-02-18 中国航空工业集团公司第六三一研究所 A-grade software object code coverage analysis method conforming to DO-178B/C
CN105630668A (en) * 2014-12-01 2016-06-01 深圳市腾讯计算机系统有限公司 Test method and apparatus
CN104834859A (en) * 2015-04-24 2015-08-12 南京邮电大学 Method for dynamically detecting malicious behavior in Android App (Application)
CN104834859B (en) * 2015-04-24 2018-04-10 南京邮电大学 The dynamic testing method of malicious act in a kind of Android applications
CN105912379B (en) * 2016-04-01 2019-07-23 青岛海信电器股份有限公司 A kind of compiler task management method and compiler task managing device
CN105912379A (en) * 2016-04-01 2016-08-31 青岛海信电器股份有限公司 Management method of compiling tasks and management device for compiling tasks
CN105955239A (en) * 2016-05-26 2016-09-21 上海添测智能科技有限公司 General test platform rapid construction method based on shared memory
CN105955239B (en) * 2016-05-26 2018-08-21 上海南土信息科技有限公司 A kind of general-utility test platform fast construction method based on shared drive
CN107797913A (en) * 2016-09-07 2018-03-13 大陆汽车电子(连云港)有限公司 A kind of software analysis System and method for of real-time system
CN106874187A (en) * 2016-12-29 2017-06-20 腾讯科技(深圳)有限公司 code coverage collection method and device
CN106980496B (en) * 2017-01-18 2020-09-29 上海爱韦讯信息技术股份有限公司 Tool integration method and system based on FOG data bus
CN106980496A (en) * 2017-01-18 2017-07-25 上海爱韦讯信息技术有限公司 Tool integration method and system based on FOG data/address bus
CN107315679A (en) * 2017-05-12 2017-11-03 昆明奥多智能科技有限公司 A kind of embedded software automation exact p-value method and test system
CN107391375A (en) * 2017-07-25 2017-11-24 北京计算机技术及应用研究所 Perform the method for obtaining sentence and branch covering rate during C25 assembler languages
CN110858172A (en) * 2018-08-23 2020-03-03 北京京东尚科信息技术有限公司 Automatic test code generation method and device
CN110389895A (en) * 2019-06-14 2019-10-29 平安科技(深圳)有限公司 Terminal test method, device, computer equipment and storage medium
CN110704303A (en) * 2019-09-05 2020-01-17 深圳开源互联网安全技术有限公司 Method and device for acquiring test coverage information
CN110704303B (en) * 2019-09-05 2021-07-20 深圳开源互联网安全技术有限公司 Method and device for acquiring test coverage information
CN110837466A (en) * 2019-10-15 2020-02-25 中国电子科技集团公司第三十研究所 Embedded software dynamic test method based on source code piling
CN111736846A (en) * 2020-06-15 2020-10-02 南京航空航天大学 Dynamic analysis-oriented source code instrumentation improvement method
CN111736846B (en) * 2020-06-15 2021-06-22 南京航空航天大学 Dynamic analysis-oriented source code instrumentation improvement method
CN113297064A (en) * 2020-07-29 2021-08-24 阿里巴巴集团控股有限公司 Code coverage rate testing method, system, equipment and storage medium
CN112241366A (en) * 2020-09-23 2021-01-19 厦门亿联网络技术股份有限公司 Embedded equipment testing method and device and electronic equipment
CN113377379A (en) * 2021-08-12 2021-09-10 四川腾盾科技有限公司 Simulator instruction instrumentation-based operating system information statistical method
CN113377379B (en) * 2021-08-12 2021-11-16 四川腾盾科技有限公司 Simulator instruction instrumentation-based operating system information statistical method
CN113645315A (en) * 2021-10-13 2021-11-12 杭州乒乓智能技术有限公司 Method and system for automatically uploading static resources by code editor
CN113645315B (en) * 2021-10-13 2022-03-04 杭州乒乓智能技术有限公司 Method and system for automatically uploading static resources by code editor
CN115357513A (en) * 2022-09-06 2022-11-18 清华大学 Program fuzzing test method, device, equipment and storage medium
CN115237728A (en) * 2022-09-26 2022-10-25 东方电子股份有限公司 Visual monitoring method for real-time operating system running state
CN115562962A (en) * 2022-09-28 2023-01-03 北京百度网讯科技有限公司 Method and device for analyzing model reasoning performance and electronic equipment
CN115658370A (en) * 2022-11-18 2023-01-31 辉羲智能科技(上海)有限公司 Compiler-based real-time detection method for machine learning acceleration chip faults

Similar Documents

Publication Publication Date Title
CN102222041A (en) Test analysis system and method based on embedded software
CN102243609A (en) Embedded software-based test analysis method and system
CN101408862B (en) Embedded system test method
KR101019210B1 (en) Test Device of Embedded Software using the emulator and Method thereof
KR100338223B1 (en) A method and apparatus for structured memory analysis of data processing systems and applications
CN102722434B (en) Performance test method and tool aiming at Linux process scheduling
US7503037B2 (en) System and method for identifying bugs in software source code, using information from code coverage tools and source control tools to determine bugs introduced within a time or edit interval
US10664601B2 (en) Method and system automatic buffer overflow warning inspection and bug repair
EP2572294B1 (en) System and method for sql performance assurance services
US7512933B1 (en) Method and system for associating logs and traces to test cases
US20090248721A1 (en) System And Method for Stack Crawl Testing and Caching
CN103699476A (en) Coverage rate testing method and system
CN102222035A (en) Software behavior detection system based on symbolic execution technology and detection method thereof
CN106529304B (en) A kind of Android applies concurrent leakage location
US8533683B2 (en) Stack walking enhancements using sensorpoints
KR101796369B1 (en) Apparatus, method and system of reverse engineering collaboration for software analsis
US20200143061A1 (en) Method and apparatus for tracking location of input data that causes binary vulnerability
US20100275185A1 (en) System and Method for High Performance Coverage Analysis
CN104156311A (en) Embedded type C language target code level unit testing method based on CPU simulator
CN114281657A (en) System log collection method and device
Schulz et al. Owl: next generation system monitoring
CN109542444A (en) Monitoring method, device, server and the storage medium of JAVA application
KR20070087400A (en) Method and system for test coverage analysis of operating system software
CN110633199A (en) Testing apparatus, method, and medium for block chain supporting intelligent contract
CN112685316A (en) Code execution path acquisition method and device, computer equipment and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20111019