CN102214142A - Instrumentation method for traceless manageable source code manually-defined mark - Google Patents

Instrumentation method for traceless manageable source code manually-defined mark Download PDF

Info

Publication number
CN102214142A
CN102214142A CN2011101985469A CN201110198546A CN102214142A CN 102214142 A CN102214142 A CN 102214142A CN 2011101985469 A CN2011101985469 A CN 2011101985469A CN 201110198546 A CN201110198546 A CN 201110198546A CN 102214142 A CN102214142 A CN 102214142A
Authority
CN
China
Prior art keywords
pitching pile
pitching
source file
point
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
CN2011101985469A
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.)
Nanjing University
Original Assignee
Nanjing University
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 Nanjing University filed Critical Nanjing University
Priority to CN2011101985469A priority Critical patent/CN102214142A/en
Publication of CN102214142A publication Critical patent/CN102214142A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses an instrumentation method for a traceless manageable source code manual defined mark. The method comprises the following steps of: 10, opening a project; 11, defining an instrumentation mark on a source code editor and defining instrumentation points in the entire project; 12, examining all the definitions of all instrumentation points, entering a step 13 for modifying if a wrong instrumentation point is found, and directly entering a step 14 if no wrong instrumentation point is found; 13, modifying the definition of the wrong instrumentation point to be correct; 14, combining the instrumentation points with an original source file to generate a new source file; and 15, compiling the new source file to generate a byte code file. The method has the major characteristics of visible instrumentation codes, centralized management of code instrumentation, traceless instrumentation process, automatic positioning of instrumentation points, expandable automatic instrumentation and efficient automatic instrumentation.

Description

Seamless manageable source code manual definition sign pile pitching method
Technical field
The present invention relates to the computer program performance analysis, relate generally to a kind of seamless manageable source code manual definition sign pile pitching method.
Background technology
Process analysis utilizes static program analysis and dynamic routine analysis that program behavior is analyzed automatically usually, and then improves software quality.The dynamic routine analysis often comes the behavior of collection procedure dynamic operation by means of pile pitching method, and some program behavior relevant with running environment can only be collected by pitching pile, and static program analysis can't be analyzed.In the software development process, use the source code pile pitching method that code is examined after the code inspection person finished in the code compiling stage, common examiner has reading source code authority but inconvenience is made amendment to code.By the analysis of program operation action being found as early as possible the mistake in the code, and then improve software quality.The source code pitching pile can utilize Program Semantics fully, show pitching pile code and can not improve the code logic complicacy visually.
Program pitching pile technology, be on the basis that guarantees the original logic integrality of tested program, in program, to insert some probes, the characteristic of the execution and the program run of dishing out by probe, by analysis to these data, can obtain the control stream and the traffic flow information of program, and then obtain multidate information such as logic covering, thereby realize the method for test purpose.Because program pitching pile technology is to insert probe in tested program, obtain then control stream and the traffic flow information of program by the execution of probe, realize the purpose of testing with this.The time of therefore, inserting according to probe can be divided into object code pitching pile and source code pitching pile.
Existing pile pitching method mainly comprises three class methods such as the mechanism of asserting, bytecode pitching pile, AOP pitching pile.The mechanism of asserting is directly added the pitching pile code in writing source file, will reduce code readability.The bytecode pitching pile is then directly made amendment to byte code files, and the source code of being inserted bytecode can't be visual, and can't guarantee the correctness of code insertion process.The AOP pitching pile has increased the lateral aspects relation on the basis of the vertical inheritance of program, has increased the logic complexity of program.
At present the pitching pile technology mainly exists pitching pile point and code visualization thereof, is inserted code administration, pitching pile point is located automatically, the automatic lower problem of pitching pile performance.
Summary of the invention
In view of the above problems, the present invention aims to provide a source code pile pitching method, and this method is not only supported manual pitching pile, and supports in batches automatic pitching pile.Its principal feature has the pitching pile code visualization, inserts code centralized management and seamlessization of pitching pile process etc.
The present invention is achieved by the following technical solutions:
A kind of source code is carried out seamless manageable seamless manageable source code manual definition sign pile pitching method, step comprises:
Step 10: open an engineering;
Step 11: by at source code editing machine definition pitching pile sign, and then in whole engineering definition pitching pile point;
Step 12: examine the definition of all pitching pile points:, then enter step 13 it is made amendment if find to have the pitching pile point of mistake; Do not have to find to have the pitching pile point of mistake, then directly enter step 14;
Step 13: the definition of revising pitching pile is until correctly;
Step 14: pitching pile point and former source file are merged the new source file of generation;
Step 15: new source file is compiled the generation byte code files.
In the described step 11), the step of pitching pile point definition comprises:
Step 20: open an engineering;
Step 21: judge whether and need define the pitching pile point on the source file in engineering, if, then jump to step 22, if not, then jump to step 25;
Step 22: choose the source file of required pitching pile, open this source file with the source code editing machine;
Step 23: navigate to earlier pitching pile point place code line, and define a sign and be convenient to and in time identify, again at the corresponding pitching pile code of this sign definition;
Step 24: if need to then jump to step 21 at the new pitching pile point of the continuous definition of this source file relaying, if do not need, then enter step 25;
Step 25: finish this pitching pile definition.
In the described step 13, can modification information comprise: whether pitching pile code and pitching pile point that pitching pile point comprised need to be compiled into byte code files.
In the described step 14, manually the step of the new source file of pitching pile Central Plains source file and pitching pile point merging generation comprises:
Step 30: the beginning that former source file and pitching pile point merge, the pitching pile point in each source file defines at this moment;
Step 31: earlier all source files in the engineering are found out, and therefrom select a source file;
Step 32: check whether comprise the pitching pile point in the selected source file, then enter step 33, if then do not jump to step 36 if having;
Step 33: at first with former source file backup, find out then all pitching pile points in the source file;
Step 34: all pitching pile points that find out are sorted, sort according to line number;
Step 35: read former source file line by line and write a new source file, generate a new source file;
Step 36: check whether also have source file need merge the pitching pile point,, then to return step 31,, then to enter step 37 if do not have if having;
Step 37: all source files had all merged the pitching pile point, finished.
In the described step 34, ordering is to sort according to line number is ascending; For the identical pitching pile point of line number, the first type pitching pile point of row comes before the last type pitching pile point of row.
In the described step 35, read former source file line by line, travel through all pitching pile points from front to back; When reading source file line by line:
If a) line number is different from pitching pile point line number, in the new source file that then writes direct;
B) if line number is identical with pitching pile point line number, at this moment:
B.1) if the pitching pile type is the first type of row, then earlier write the pitching pile code, write former source file code again to new source file,
B.2) if the pitching pile type is the last type of row, then earlier write former source file code, write the pitching pile code again to new source file;
When reading source file line by line, take out next pitching pile point, until all pitching pile points all merge in the former source file.
Described pitching pile point manager is by the specifically deletion of certain delegation and pitching pile point in the source file of all pitching pile dot informations in the query display engineering, information, the classification of pitching pile point and the filtration of revising pitching pile point, pitching pile point location.
Described pitching pile sign is presented on the left vertical scale of source code editing machine, shows that with the different icons form this row implanted pitching pile code and pitching pile type; The code of pitching pile point can be by User Defined.
All pitching pile signs all carry out with engineering: the pitching pile sign is closed in engineering and is automatically preserved afterwards, and the pitching pile sign still can reduce at the scale of source code editing machine when opening engineering next time.
This method concentrates manager to finish by pitching pile point, and pitching pile point concentrates the function of manager to comprise: inquiry also shows the specifically deletion of certain delegation and pitching pile point in the file of all pitching pile dot informations in the engineering, the information of revising pitching pile point, pitching pile point classification and filtration demonstration, pitching pile point location.
The pitching pile scheme of manual definition sign is carried out pitching pile by row, and every row comprises at most two kinds of pitching pile type of signs, and a kind of is the first pitching pile code of implanting of being expert at, and another kind is the end implantation pitching pile code of being expert at.On the source code editing machine, show a sign on guild's left vertical scale of definition pitching pile point, show that the implanted pitching pile code of this row indicates the pitching pile type simultaneously.Each pitching pile point code all can be by User Defined, and all pitching pile signs all carry out persistence with engineering.
Pitching pile sign persistence refers to that the pitching pile sign is closed in engineering and automatically preserves afterwards that the pitching pile sign still can reduce at the scale of source code editing machine when opening engineering next time.
All pitching pile points can be managed concentratedly after having defined, and the centralized management of pitching pile point partly comprises: inquiry and show all pitching pile dot informations in the engineering, revise the pitching pile dot information, pitching pile point classification and filtering shows, the specifically deletion of certain delegation, pitching pile point in the file of pitching pile point location.
Further, all pitching pile dot informations in the query display engineering, comprise in the inquiry file the first and last pitching pile point of row of all row, its shown information comprises: the code of the affiliated engineering name of pitching pile point, affiliated file path, the number of being expert at, required implantation and whether need to merge in the byte code files.
In the step 13, revise the pitching pile dot information, comprise pitching pile code in editor's pitching pile point and the option that whether needs to merge to byte code files.The pitching pile classification can be selected to sort by engineering name, filename, pitching pile type, merging, and other pitching pile point of same class is concentrated and is presented at together after the ordering.When sorting by the engineering name, the pitching pile that the engineering name is identical is named a person for a particular job and is presented at together, and other several mode classifications similarly.
Pitching pile point filters and to be supported in pitching pile point administration interface and to show a small amount of necessary pitching pile point, avoids that the huge user of increase edits difficulty and then the raising user experiences index because pitching pile is counted out.Pitching pile point filters and to utilize regular expression that engineering name and filename are filtered, and then so that the pitching pile point that filters in the gained engineering (or file) remain and be presented on the pitching pile administration interface.Search which engineering (or file) title and regular expression during filtration earlier and be complementary, the engineering (or file) that matches is preserved.The pitching pile point that then will remain in the engineering (or file) finds out and is shown on the pitching pile administration interface.
The pitching pile point location can navigate to pitching pile point place file easily, makes the user can check in time that pitching pile puts environment of living in, and then analyzes the function of this subprogram.
Pitching pile point deletion function is supported in the pitching pile point that (or owning) specified in the unified deletion of pitching pile point administrative section, has avoided must navigating to the problem of its place file before the deletion pitching pile, and then has improved the ease for use of software.
The process that the pitching pile point that defines and former source file is merged into new source file is that each source file in the engineering is operated separately.For certain concrete source file, with the backup of this document copy, obtain then all the pitching pile points in this document, according to sorting from small to large from line number earlier.Then by the row file reading and be written in the new file, when line number equates with some pitching pile point line numbers, according to the pitching pile type this pitching pile point code and original code are write and to be read then next line in the new file.The code write sequence is write the original code by the pitching pile type decided again if the first pitching pile type of row is then write the pitching pile code earlier, writes the pitching pile code again if the last pitching pile type of row is then write the original code earlier.Operate by source file as stated above, merge to all pitching pile points in the corresponding source file and generate new source file.
New source file is compiled in the process that produces new bytecode and operation, utilize prior backup and reduction source file, pitching pile is put compiling and the operation byte code files is a complete automated procedure from merging.For outside, former source file is not changed and the result is the execution result of pitching pile code, and whole process is a seamless process.
The present invention utilizes sign to preserve the pitching pile code, and pitching pile code and original code are made a distinction, and has improved pitching pile code visualization ability.Sign can be at the corresponding pitching pile code of pitching pile position display, and can not disturb the original editing.Simultaneously can manage all pitching pile signs concentratedly, and then improve the managerial ability of pitching pile code.For improving the efficient of automatic pitching pile, the present invention has also designed file filter and first pitching pile type is reused framework.User's original is all finished and do not revise to above all operations on the backstage, whole process is a seamless process.
The accompanying drawing content
Fig. 1 is the entire flow figure of manual pitching pile.
Fig. 2 is the flow chart of manual pitching pile pitching pile point definition.
Fig. 3 is the flow chart that manual pitching pile Central Plains source file and pitching pile point merge.
Embodiment
Below by accompanying drawing technical scheme of the present invention is described in further detail.
The present invention mainly comprises two types of pitching pile schemes: a kind of is manual definition sign pitching pile type, and another kind is the automatic pitching pile of different application type.
Manually the pitching pile scheme supports the analyst to define the pitching pile point neatly according to analyzing needs in whole engineering, and carries out the management of pitching pile point.The pitching pile code of implanting can not destroy original code, finally can select as required several pitching pile points to move with original.Whole manual pitching pile entire flow figure comprises the steps: as shown in Figure 1
Step 10: the beginning of whole manual pitching pile process, open an engineering this moment and also prepare by pitching pile it to be analyzed;
Step 11: by at source code editing machine definition sign and then at whole engineering definition pitching pile point;
Step 12: examine the definition of all pitching pile points after having defined pitching pile point, if find to be with vicious pitching pile point, then enter step 13 it is made amendment, otherwise enter step 14;
Step 13: revise the definition of pitching pile, can modification information mainly contain two kinds: the pitching pile code that first pitching pile point is comprised, it two is whether pitching pile point needs to be compiled into byte code files;
Step 14: when finishing pitching pile definition and do not have pitching pile point to need to revise, with pitching pile point and the merging of former source file and produce new file;
Step 15: the new source file that produces is compiled and then produce byte code files;
Above-mentioned manual pitching pile point definitim flow utilization sign is preserved resource information, sign must and engineering use after persistence is convenient to together, the flow chart that whole manual pitching pile pitching pile point defines comprises the steps: as shown in Figure 2
Step 20: the beginning of whole manual pitching pile pitching pile point definition, need open an engineering this moment and prepare definition pitching pile point;
Step 21: judge whether on file, to define the pitching pile point,, otherwise jump to step 25 if then jump to step 22;
Step 22: choose the file of required pitching pile, and open this document with the source code editing machine;
Step 23: manually pitching pile must navigate to pitching pile point place code line earlier, and defines a sign so that can in time discern later on, the corresponding pitching pile code of definition on this sign;
Step 24: judge whether that also need if needs define new pitching pile point then jump to step 21, otherwise enter step 25 at the new pitching pile point of presents definition;
Step 25: all pitching pile point definition are finished, and finish this pitching pile definition;
After defining pitching pile point, for further improving the correctness of pitching pile point, this programme provides pitching pile point manager.By inquiry and show all pitching pile dot informations in the engineering, the information of revising pitching pile point, pitching pile point classification and filter show, five kinds of the deletions of pitching pile point location concrete certain delegation, pitching pile point in the file operate and then the concentrated managerial ability of raising pitching pile point.
The flow process that described former source file and pitching pile point merge is carried out after having defined pitching pile point, and this operation will need the pitching pile point of compiling to merge the new file of generation with original in the file.Manually the flow chart of pitching pile Central Plains source file and pitching pile point merging comprises the steps: as shown in Figure 3
Step 30: the beginning that original and pitching pile point merge, the pitching pile point in each file defines at this moment, will carry out pitching pile point union operation to each file below;
Step 31: earlier all source files in the whole engineering are found out, and therefrom select a file;
Step 32: check whether comprise the pitching pile point in the selected file, then enter step 33 if having, otherwise jump to step 36;
Step 33: if file including pitching pile point then at first finds out all pitching pile points in the file with the original backup then;
Step 34: all pitching pile points that find out are sorted, sort according to line number is ascending, the identical pitching pile point of line number, the first type pitching pile point of row come before the last type pitching pile point of row;
Step 35: read line by line original and write a new file, travel through from front to back all pitching pile points simultaneously.When file reading line by line, in the new file that writes direct if line number is different from pitching pile point; When if line number is identical with pitching pile point line number, if this moment, the pitching pile type was that the first type of row then earlier writes the pitching pile code to new file and writes the original code again, then earlier writes the original code to new file and write again the pitching pile code if the pitching pile type is the last type of row.To take out next pitching pile point simultaneously, all merge in the original up to all pitching pile points.
Step 36: check whether also have file need to merge the pitching pile point;
Step 37: All Files had all merged the pitching pile point.
In this programme, file carries out will compiling new file after pitching pile point merges and produces new bytecode simultaneously one by one.Move new bytecode, acquired results is pitching pile point and the common execution result of former code.
Automatically the pitching pile scheme is carried out for certain concrete application type, utilizes the structure matching of abstract syntax tree to carry out the automatic location of pitching pile point, and pitching pile point is located automatic pitching pile emphasis partly automatically.Behind the location syntax tree structure of code snippet is added to the relevant position in the syntax tree structure of original, the new syntax tree that produces is converted to source code and is compiled into bytecode, the gained bytecode can directly move.Automatically the complete process flow diagram of pitching pile comprises the steps: as shown in Figure 4
Step 40: the beginning of whole automatic pitching pile process, open an engineering this moment and also prepare by pitching pile it to be analyzed;
Step 41: define a file filter device, the file filter device uses regular expression that the engineering (bag, file, method) of required pitching pile is mated, and what match then will remain;
Step 42: then use the filter of above-mentioned definition to being filtered by the file of pitching pile, utilize the analyst that the existing knowledge of project file has been improved automatic pitching pile performance;
Step 43: select the type of required pitching pile, the code of the required pitching pile of definition correlation type;
Step 44: locate the position that then utilizes the syntax tree structure matching to carry out pitching pile point according to different pitching pile types, and insert new file of the final generation of code in the relevant position;
Step 45: above-mentioned new file is compiled the new executable byte codes file of generation, and these files are preserved;
Step 46: finally produce executable file, whole process will can not revised original fileinfo, and whole process is a seamless process.
Should be noted that at last: above step only is used to illustrate that technical scheme of the present invention is not intended to limit.Although above-mentioned steps has been described in detail the present invention, those skilled in the relevant art should be appreciated that still and can make amendment or the part technology is equal to replacement concrete technology of the present invention; And not breaking away from the spirit of technical solution of the present invention, it all should be encompassed in

Claims (9)

1. seamless manageable source code manual definition sign pile pitching method is characterized in that comprising step:
Step 10: open an engineering;
Step 11: by at source code editing machine definition pitching pile sign, and then in whole engineering definition pitching pile point;
Step 12: examine the definition of all pitching pile points:, then enter step 13 it is made amendment if find to have the pitching pile point of mistake; Do not have to find to have the pitching pile point of mistake, then directly enter step 14;
Step 13: revise the definition of pitching pile to correct;
Step 14: pitching pile point and former source file are merged the new source file of generation;
Step 15: new source file is compiled the generation byte code files.
2. seamless manageable source code manual definition sign pile pitching method according to claim 1 is characterized in that in the described step 11), and the step of pitching pile point definition comprises:
Step 20: open an engineering;
Step 21: judge whether and need define the pitching pile point on the source file in engineering, if, then jump to step 22, if not, then jump to step 25;
Step 22: choose the source file of required pitching pile, open this source file with the source code editing machine;
Step 23: navigate to earlier pitching pile point place code line, and define a sign and be convenient to and in time identify, again at the corresponding pitching pile code of this sign definition;
Step 24: if need to then jump to step 21 at the new pitching pile point of the continuous definition of this source file relaying, if do not need, then enter step 25;
Step 25: finish this pitching pile definition.
3. seamless manageable source code manual definition sign pile pitching method according to claim 1 is characterized in that in the described step 13 can modification information comprise: whether pitching pile code and pitching pile point that pitching pile point comprised need to be compiled into byte code files.
4. according to claim 1 or 2 or 3 described seamless manageable source code manual definition sign pile pitching methods, it is characterized in that in the described step 14 that manually the step of the new source file of pitching pile Central Plains source file and pitching pile point merging generation comprises:
Step 30: the beginning that former source file and pitching pile point merge, the pitching pile point in each source file defines at this moment;
Step 31: earlier all source files in the engineering are found out, and therefrom select a source file;
Step 32: check whether comprise the pitching pile point in the selected source file, then enter step 33, if then do not jump to step 36 if having;
Step 33: at first with former source file backup, find out then all pitching pile points in the source file;
Step 34: all pitching pile points that find out are sorted, sort according to line number;
Step 35: read former source file line by line and write a new source file, generate a new source file;
Step 36: check whether also have source file need merge the pitching pile point,, then to return step 31,, then to enter step 37 if do not have if having;
Step 37: all source files had all merged the pitching pile point, finished.
5. seamless manageable source code manual definition sign pile pitching method according to claim 4 is characterized in that in the described step 34 that ordering is to sort according to line number is ascending; For the identical pitching pile point of line number, the first type pitching pile point of row comes before the last type pitching pile point of row.
6. seamless manageable source code manual definition sign pile pitching method according to claim 4 is characterized in that reading former source file line by line in the described step 35, travels through all pitching pile points from front to back; When reading source file line by line:
If a) line number is different from pitching pile point line number, in the new source file that then writes direct;
B) if line number is identical with pitching pile point line number, at this moment:
B.1) if the pitching pile type is the first type of row, then earlier write the pitching pile code, write former source file code again to new source file,
B.2) if the pitching pile type is the last type of row, then earlier write former source file code, write the pitching pile code again to new source file;
When reading source file line by line, take out next pitching pile point, until all pitching pile points all merge in the former source file.
7. seamless manageable source code manual definition sign pile pitching method according to claim 1, it is characterized in that described pitching pile sign is presented on the left vertical scale of source code editing machine, show that with the different icons form this row implanted pitching pile code and pitching pile type; The code of pitching pile point can be by User Defined.
8. seamless manageable source code manual definition sign pile pitching method according to claim 7, it is characterized in that all pitching pile signs all carry out with engineering: the pitching pile sign is preserved after engineering is closed automatically, and the pitching pile sign still can reduce on the scale of source code editing machine when opening engineering next time.
9. seamless manageable source code manual definition sign pile pitching method according to claim 1, it is characterized in that this method concentrates manager to finish by pitching pile point, pitching pile point concentrates the function of manager to comprise: inquiry also shows the specifically deletion of certain delegation and pitching pile point in the file of all pitching pile dot informations in the engineering, the information of revising pitching pile point, pitching pile point classification and filtration demonstration, pitching pile point location.
CN2011101985469A 2011-07-15 2011-07-15 Instrumentation method for traceless manageable source code manually-defined mark Pending CN102214142A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011101985469A CN102214142A (en) 2011-07-15 2011-07-15 Instrumentation method for traceless manageable source code manually-defined mark

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011101985469A CN102214142A (en) 2011-07-15 2011-07-15 Instrumentation method for traceless manageable source code manually-defined mark

Publications (1)

Publication Number Publication Date
CN102214142A true CN102214142A (en) 2011-10-12

Family

ID=44745461

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011101985469A Pending CN102214142A (en) 2011-07-15 2011-07-15 Instrumentation method for traceless manageable source code manually-defined mark

Country Status (1)

Country Link
CN (1) CN102214142A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103425571A (en) * 2012-05-23 2013-12-04 腾讯科技(深圳)有限公司 Source code completeness detecting method and device
CN104487939A (en) * 2012-07-31 2015-04-01 惠普发展公司,有限责任合伙企业 Instrumented file deployment
CN104881496A (en) * 2015-06-15 2015-09-02 北京金山安全软件有限公司 File name identification and file cleaning method and device
CN105809039A (en) * 2016-03-04 2016-07-27 南京大学 Automatic repair method for buffer overflow vulnerabilities
CN105843661A (en) * 2016-03-24 2016-08-10 中国农业银行股份有限公司 Code relocating method and system oriented to host system
CN111736846A (en) * 2020-06-15 2020-10-02 南京航空航天大学 Dynamic analysis-oriented source code instrumentation improvement method
CN111913878A (en) * 2020-07-13 2020-11-10 苏州洞察云信息技术有限公司 Program analysis result-based bytecode instrumentation method, device and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7240335B2 (en) * 1996-08-27 2007-07-03 Compuware Corporation Byte code instrumentation
CN101706750A (en) * 2009-11-16 2010-05-12 西安邮电学院 Detective pole acquiring method based on embedded type simulator
CN101833500A (en) * 2010-04-07 2010-09-15 南京航空航天大学 Embedded software intelligent testing method based on Agent

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7240335B2 (en) * 1996-08-27 2007-07-03 Compuware Corporation Byte code instrumentation
CN101706750A (en) * 2009-11-16 2010-05-12 西安邮电学院 Detective pole acquiring method based on embedded type simulator
CN101833500A (en) * 2010-04-07 2010-09-15 南京航空航天大学 Embedded software intelligent testing method based on Agent

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
CHEN HUAJIE等: "An Instrumentation Tool for Program Dynamic Analysis in Java", 《2011 FIFTH INTERNATIONAL CONFERENCE ON SECURE SOFTWARE INTEGRATION AND RELIABILITY IMPROVEMENT-COMPANION》 *

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103425571B (en) * 2012-05-23 2016-04-13 腾讯科技(深圳)有限公司 A kind of source code integrality detection method and device
CN103425571A (en) * 2012-05-23 2013-12-04 腾讯科技(深圳)有限公司 Source code completeness detecting method and device
CN104487939B (en) * 2012-07-31 2018-03-13 慧与发展有限责任合伙企业 The deployment of pitching pile file
CN104487939A (en) * 2012-07-31 2015-04-01 惠普发展公司,有限责任合伙企业 Instrumented file deployment
CN104881496A (en) * 2015-06-15 2015-09-02 北京金山安全软件有限公司 File name identification and file cleaning method and device
CN104881496B (en) * 2015-06-15 2018-12-14 北京金山安全软件有限公司 File name identification and file cleaning method and device
US10705748B2 (en) 2015-06-15 2020-07-07 Beijing Kingsoft Internet Security Software Co., Ltd. Method and device for file name identification and file cleaning
CN105809039A (en) * 2016-03-04 2016-07-27 南京大学 Automatic repair method for buffer overflow vulnerabilities
CN105809039B (en) * 2016-03-04 2018-07-27 南京大学 Buffer-overflow vulnerability self-repairing method
CN105843661A (en) * 2016-03-24 2016-08-10 中国农业银行股份有限公司 Code relocating method and system oriented to host system
CN105843661B (en) * 2016-03-24 2019-03-29 中国农业银行股份有限公司 A kind of code method for relocating and its system towards host system
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
CN111913878A (en) * 2020-07-13 2020-11-10 苏州洞察云信息技术有限公司 Program analysis result-based bytecode instrumentation method, device and storage medium
CN111913878B (en) * 2020-07-13 2023-09-15 苏州洞察云信息技术有限公司 Byte code instrumentation method, device and storage medium based on program analysis result

Similar Documents

Publication Publication Date Title
CN102214142A (en) Instrumentation method for traceless manageable source code manually-defined mark
CN107622014B (en) Test report generation method and device, readable storage medium and computer equipment
CN102804147B (en) Perform the code check executive system of the code check of ABAP source code
CN104035772B (en) Source code multi version function calling relationship otherness identification method based on static analysis
US9207933B2 (en) Identifying authors of changes between multiple versions of a file
CN106649100A (en) Automatic test method and system
CN109783079A (en) A kind of code annotation generation method based on program analysis and Recognition with Recurrent Neural Network
US7721253B2 (en) Software development support system
US9594543B2 (en) Activity diagram model-based system behavior simulation method
US20120144373A1 (en) Computer Program Testing
CN104035873A (en) Method and device for generating testing codes
CN102231109A (en) Traceless manageable automatic source code instrumentation method
Dragan et al. Using stereotypes to help characterize commits
CN100561445C (en) A kind of method and apparatus that generates test data set according to contents of program automatically
US11514237B2 (en) Spreadsheet and method for updating same
CN104850411B (en) Storage system benchmark evaluation program generation method and device
CN108132887A (en) User interface method of calibration, device, software testing system, terminal and medium
CN109189674A (en) A kind of method and system that software defect reports automatically
JPH0683598A (en) Job flow specification automatic generating method
Strüber et al. Scalability of Model Transformations: Position Paper and Benchmark Set.
Canfora et al. How crosscutting concerns evolve in JHotDraw
CN113961238A (en) Object conversion method and device, electronic equipment and storage medium
CN110990282B (en) Automatic unit testing method
KR20220003106A (en) Systems and methods of computer-assisted computer programming
US20090204939A1 (en) Methods for visual representation of macros language

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20111012