CN110275710A - A kind of Java local interface consistency checking method and system, storage medium and terminal - Google Patents
A kind of Java local interface consistency checking method and system, storage medium and terminal Download PDFInfo
- Publication number
- CN110275710A CN110275710A CN201910497314.XA CN201910497314A CN110275710A CN 110275710 A CN110275710 A CN 110275710A CN 201910497314 A CN201910497314 A CN 201910497314A CN 110275710 A CN110275710 A CN 110275710A
- Authority
- CN
- China
- Prior art keywords
- jni
- native
- parameter information
- java
- library
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/31—Programming languages or programming paradigms
- G06F8/315—Object-oriented languages
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/40—Transformation of program code
- G06F8/41—Compilation
- G06F8/43—Checking; Contextual analysis
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computing Systems (AREA)
- Devices For Executing Special Programs (AREA)
Abstract
The present invention provides a kind of Java local interface consistency checking method and system, storage medium and terminal, comprising the following steps: the plug-in unit of the JNI parameter information of record function is introduced in the compilation phase;It in the generating process of the library Native, is modified by Native library of the plug-in unit to generation, so as to increase the JNI parameter information in the library Native;When JVM is run, during JNI dynamic link, compares the JNI parameter information in Native and whether the JNI parameter information in Java is consistent, and pass through the JNI dynamic link when consistent.Java local interface consistency checking method of the invention and system, storage medium and terminal, the stage is linked by the complete information of the symbol in the JVM inspection library Native in the library Native, to ensure that the realization in the interface and Native in Java statement is completely the same, and in the case of inconsistencies, throw exception immediately, to avoid the occurrence of unpredictable behavior.
Description
Technical field
The present invention relates to the technical fields of IT, more particularly to a kind of Java local interface consistency checking method and are
System, storage medium and terminal.
Background technique
Java local interface (Java Native Interface, JNI) is a kind of programming framework, provides several answer
The logical of Java and other language is realized with Program Interfaces (Application Programming Interface, API)
Believe (mainly C&C++).Since Java1.1, JNI standard becomes a part of Java platform, it allows Java code and its
The code that his language is write interacts.JNI be at the beginning designed for local compiled language, especially C and C++, but
It is not interfere using other programming languages, as long as calling convention is supported.Use Java and local compiled generation
Code interaction, it will usually lose platform portability.But doing so in some cases is acceptable, it is even necessary.
For example, being interacted using some old libraries with hardware, operating system, or in order to improve the performance of program.JNI standard is at least
Guarantee that local code can work in any Java virtual machine environment.
Specifically, java applet can call Native program by JNI, and vice versa.Native program is usually by C/C
++ or assembler language is write, this makes joint Java and C/C++/ASM etc. are multilingual to be developed into possibility.Many times
It requires to resort to JNI, such as wants to remove control hardware in JAVA level, or use some Native algorithm optimizations library, even
Being is sometimes some services for needing directly access underlying operating system.
Specifically, the example of JNI is as follows:
From the foregoing, it will be observed that the part Native includes a header file and a realization file, java section includes the sound of interface
It is bright, the load and calling in the library Native.
Since Java code is separately compiled, is packaged or linked with Native code.It is realized in case of Native interface
The inconsistent problem between Java interface statement, then have no idea to find this problem in the compilation phase.
More frighteningly, it for the JNI that C language is realized, has no idea in the loading procedure of the library Native
It was found that this problem.This will lead to there is unexpected problem in program operation process.
Lack effective JNI consistency check scheme in the prior art.Common practice is that Native is stated in Java
Method, then generates Native code header file using tools such as Javah, and Native quotes the header file and determines according to interface
Justice is realized, Native code compiler is then allowed to identify the inconsistent phenomenon of interface.Above-mentioned way can be to a certain extent
Avoid the problem that JNI is inconsistent.But many times developer can't develop according to this development process, or even very
More completely manual exploitation Native of developer.Due to the imprecision in the fault and test on coding, cause this inconsistent
When operation uncertain behavior occurs for JNI by subordinate.
Summary of the invention
In view of the foregoing deficiencies of prior art, the purpose of the present invention is to provide a kind of Java local interface consistency
Inspection method and system, storage medium and terminal, in the library the Native link stage by Java Virtual Machine (Java Virtual
Machine, JVM) check the library Native in symbol complete information, with ensure Java statement in interface and Native in
Realization it is completely the same, and in the case of inconsistencies, throw exception immediately, to avoid the occurrence of unpredictable behavior.
In order to achieve the above objects and other related objects, the present invention provides a kind of Java local interface consistency check side
Method, comprising the following steps: the plug-in unit of the JNI parameter information of record function is introduced in the compilation phase;In the library Native generating process
In, it is modified by Native library of the plug-in unit to generation, so as to increase the JNI parameter information in the library Native;
When JVM is run, during JNI dynamic link, compare the JNI parameter information in Native and the JNI parameter information in Java
It is whether consistent, and pass through the JNI dynamic link when consistent.
In one embodiment of the invention, when the JNI parameter information in Native and the JNI parameter information in Java are inconsistent
When, throw exception immediately.
It further include the index established based on function name to JNI parameter information in one embodiment of the invention, with dynamic in JNI
The JNI parameter information in corresponding Native is obtained according to function name in state link process.
It further include one section of increase in the library Native, and the JNI parameter information is remembered in one embodiment of the invention
It records in described section.
Accordingly, the present invention provides a kind of Java local interface Consistency Checking System, including introduces module, modified module
With inspection module;
The module that introduces is used to introduce the plug-in unit of the JNI parameter information of record function in the compilation phase;
The modified module is used in the generating process of the library Native, is repaired by Native library of the plug-in unit to generation
Change, so as to increase the JNI parameter information in the library Native;
When the inspection module is run for JVM, during JNI dynamic link, compare the JNI parameter letter in Native
Whether breath is consistent with the JNI parameter information in Java, and passes through the JNI dynamic link when consistent.
In one embodiment of the invention, the detection module is also used to when in the JNI parameter information and Java in Native
JNI parameter information it is inconsistent when, throw exception immediately.
In one embodiment of the invention, the introducing module is also used to establish the rope based on function name to JNI parameter information
Draw, to obtain the JNI parameter information in corresponding Native according to function name during JNI dynamic link.
In one embodiment of the invention, the modified module is also used to increase in the library Native a section, and will be described
JNI parameter information is recorded in described section.
The present invention provides a kind of storage medium, is stored thereon with computer program, realization when which is executed by processor
Above-mentioned Java local interface consistency checking method.
Finally, the present invention provides a kind of terminal, including processor and memory;
The memory is for storing computer program;
The processor is used to execute the computer program of memory storage so that the terminal execute it is above-mentioned
Java local interface consistency checking method.
As described above, Java local interface consistency checking method of the invention and system, storage medium and terminal, have
Below the utility model has the advantages that
(1) stage is linked by the complete information of the symbol in the JVM inspection library Native, to ensure Java in the library Native
The realization in interface and Native in statement is completely the same;
(2) JNI consistency is accurately checked at runtime, and in the interface and Native in Java statement
Realize it is inconsistent in the case where, throw exception immediately completely can be uncertain to avoid the program due to caused by JNI is inconsistent
Behavior.
Detailed description of the invention
Fig. 1 is shown as the flow chart of Java local interface consistency checking method of the invention in an embodiment;
Fig. 2 is shown as the structural schematic diagram of Java local interface Consistency Checking System of the invention in an embodiment;
Fig. 3 is shown as the structural schematic diagram of terminal of the invention in an embodiment.
Reference numerals explanation
21 introduce module
22 modified modules
23 check module
31 processors
32 memories
Specific embodiment
Illustrate embodiments of the present invention below by way of specific specific example, those skilled in the art can be by this specification
Other advantages and efficacy of the present invention can be easily understood for disclosed content.The present invention can also pass through in addition different specific realities
The mode of applying is embodied or practiced, the various details in this specification can also based on different viewpoints and application, without departing from
Various modifications or alterations are carried out under spirit of the invention.
Java local interface consistency checking method of the invention and system, storage medium and terminal are in Java system
The library Native links the complete information for the symbol that the stage is checked by JVM in the library Native, to ensure the interface in Java statement
It is completely the same with the realization in Native, and in the case of inconsistencies, throw exception immediately, to avoid the occurrence of unpredictable
Behavior, ensure that system operation stability.
As shown in Figure 1, Java local interface consistency checking method of the invention includes following step in an embodiment
It is rapid:
Step S1, the plug-in unit of the JNI parameter information of record function is introduced in the compilation phase.
Specifically, in the link process of JNI, JVM can first search the corresponding JNI of symbol and realize.For C++,
Symbol is mangling name, is generated by compiler according to function name and parameter information, this itself has contained parameter
Information, it is possible to ensure the consistency of the JNI in the case where symbol searches successful situation.And for C language, compiler
Mangling name can't be generated by parameter information.Therefore, the present invention introduces plug-in unit in the C compilation phase.The plug-in unit can be remembered
The JNI parameter information of function is recorded, and is established based on function name to the index of JNI parameter information.
Step S2, it in the generating process of the library Native, is modified by Native library of the plug-in unit to generation, so that institute
It states and increases the JNI parameter information in the library Native.
In one embodiment of the invention, when being modified by Native library of the plug-in unit to generation, in the library Native
Increase a section, and the JNI parameter information is recorded in described section.
Step S3, when JVM is run, during JNI dynamic link, compare JNI parameter information and the Java in Native
In JNI parameter information it is whether consistent, and pass through the JNI dynamic link when consistent.
Specifically, during JNI dynamic link, function name is primarily based on to the index of JNI parameter information, is moved in JNI
The JNI parameter information in corresponding Native is obtained according to function name in state link process;Then compare the JNI ginseng in Native
Whether number information and the JNI parameter information in Java are consistent.Wherein, when the two is consistent, pass through JNI dynamic link;Work as the two
When inconsistent, throw exception immediately, thus avoid due to JNI it is inconsistent caused by program uncertainty behavior.
As shown in Fig. 2, Java local interface Consistency Checking System of the invention includes introducing module in an embodiment
21, modified module 22 and inspection module 23.
Module 21 is introduced to be used to introduce the plug-in unit of the JNI parameter information of record function in the compilation phase.
Specifically, in the link process of JNI, JVM can first search the corresponding JNI of symbol and realize.For C++,
Symbol is mangling name, is generated by compiler according to function name and parameter information, this itself has contained parameter
Information, it is possible to ensure the consistency of the JNI in the case where symbol searches successful situation.And for C language, compiler
Mangling name can't be generated by parameter information.Therefore, the present invention introduces plug-in unit in the C compilation phase.The plug-in unit can be remembered
The JNI parameter information of function is recorded, and is established based on function name to the index of JNI parameter information.
Modified module 22 is connected with module 21 is introduced, and is used in the generating process of the library Native, by the plug-in unit to generation
The library Native modify, so as to increase the JNI parameter information in the library Native.
In one embodiment of the invention, when being modified by Native library of the plug-in unit to generation, in the library Native
Increase a section, and the JNI parameter information is recorded in described section.
It checks that module 23 is connected with modified module 22, when for JVM operation, during JNI dynamic link, compares
Whether the JNI parameter information in Native and the JNI parameter information in Java are consistent, and pass through the JNI dynamic when consistent
Link.
Specifically, during JNI dynamic link, function name is primarily based on to the index of JNI parameter information, is moved in JNI
The JNI parameter information in corresponding Native is obtained according to function name in state link process;Then compare the JNI ginseng in Native
Whether number information and the JNI parameter information in Java are consistent.Wherein, when the two is consistent, pass through JNI dynamic link;Work as the two
When inconsistent, throw exception immediately, thus avoid due to JNI it is inconsistent caused by program uncertainty behavior.
It should be noted that it should be understood that the modules of apparatus above division be only a kind of logic function division,
It can completely or partially be integrated on a physical entity in actual implementation, it can also be physically separate.And these modules can be with
All realized by way of processing component calls with software;It can also all realize in the form of hardware;It can also part mould
Block realizes that part of module passes through formal implementation of hardware by way of processing component calls software.For example, x module can be
The processing component individually set up also can integrate and realize in some chip of above-mentioned apparatus, in addition it is also possible to program generation
The form of code is stored in the memory of above-mentioned apparatus, is called by some processing component of above-mentioned apparatus and is executed the above x mould
The function of block.The realization of other modules is similar therewith.Furthermore these modules completely or partially can integrate together, can also be only
It is vertical to realize.Processing component described here can be a kind of integrated circuit, the processing capacity with signal.During realization,
Each step of the above method or the above modules can be by the integrated logic circuits of the hardware in processor module or soft
The instruction of part form is completed.
For example, the above module can be arranged to implement one or more integrated circuits of above method, such as:
One or more specific integrated circuits (Application Specific Integrated Circuit, abbreviation ASIC), or,
One or more microprocessors (Digital Singnal Processor, abbreviation DSP), or, one or more scene can compile
Journey gate array (Field Programmable Gate Array, abbreviation FPGA) etc..For another example, when some above module passes through place
When managing the form realization of component scheduler program code, which can be general processor, such as central processing unit
(Central Processing Unit, abbreviation CPU) or it is other can be with the processor of caller code.For another example, these modules
It can integrate together, realized in the form of system on chip (system-on-a-chip, abbreviation SOC).
It is stored with computer program on storage medium of the invention, which realizes above-mentioned Java when being executed by processor
Local interface consistency checking method.The storage medium includes: that ROM, RAM, disk, USB flash disk, storage card or CD etc. are various
It can store the medium of program code.
As shown in figure 3, terminal of the invention includes: processor 31 and memory 32 in an embodiment.
The memory 32 is for storing computer program.
The memory 32, which includes: that ROM, RAM, disk, USB flash disk, storage card or CD etc. are various, can store program generation
The medium of code.
The processor 31 is connected with the memory 32, the computer program stored for executing the memory 32,
So that the terminal executes above-mentioned Java local interface consistency checking method.
Preferably, the processor 31 can be general processor, including central processing unit (Central Processing
Unit, abbreviation CPU), network processing unit (Network Processor, abbreviation NP) etc.;It can also be digital signal processor
(Digital Signal Processor, abbreviation DSP), specific integrated circuit (Application Specific
Integrated Circuit, abbreviation ASIC), field programmable gate array (Field Programmable Gate Array,
Abbreviation FPGA) either other programmable logic device, discrete gate or transistor logic, discrete hardware components.
In conclusion Java local interface consistency checking method of the invention and system, storage medium and terminal exist
The library Native links the complete information for the symbol that the stage is checked by JVM in the library Native, to ensure the interface in Java statement
It is completely the same with the realization in Native;JNI consistency is accurately checked at runtime, and connecing in Java statement
Mouthful with the realization in Native it is inconsistent in the case where, throw exception immediately, completely can to avoid due to JNI it is inconsistent caused by
Program uncertainty behavior.So the present invention effectively overcomes various shortcoming in the prior art and has high industrial utilization
Value.
The above-described embodiments merely illustrate the principles and effects of the present invention, and is not intended to limit the present invention.It is any ripe
The personage for knowing this technology all without departing from the spirit and scope of the present invention, carries out modifications and changes to above-described embodiment.Cause
This, institute is complete without departing from the spirit and technical ideas disclosed in the present invention by those of ordinary skill in the art such as
At all equivalent modifications or change, should be covered by the claims of the present invention.
Claims (10)
1. a kind of Java local interface consistency checking method, which comprises the following steps:
The plug-in unit of the JNI parameter information of record function is introduced in the compilation phase;
It in the generating process of the library Native, is modified by Native library of the plug-in unit to generation, so that the library Native
It is middle to increase the JNI parameter information;
When JVM is run, during JNI dynamic link, compare the JNI parameter information in Native and the JNI parameter in Java
Whether information is consistent, and passes through the JNI dynamic link when consistent.
2. Java local interface consistency checking method according to claim 1, it is characterised in that: when in Native
When JNI parameter information in JNI parameter information and Java is inconsistent, throw exception immediately.
3. Java local interface consistency checking method according to claim 1, it is characterised in that: further include establishing to be based on
Function name to JNI parameter information index, to be obtained in corresponding Native during JNI dynamic link according to function name
JNI parameter information.
4. Java local interface consistency checking method according to claim 1, it is characterised in that: further include in Native
Increase a section in library, and the JNI parameter information is recorded in described section.
5. a kind of Java local interface Consistency Checking System, which is characterized in that including introducing module, modified module and checking mould
Block;
The module that introduces is used to introduce the plug-in unit of the JNI parameter information of record function in the compilation phase;
The modified module is used in the generating process of the library Native, is modified by Native library of the plug-in unit to generation,
So as to increase the JNI parameter information in the library Native;
When the inspection module is run for JVM, during JNI dynamic link, compare JNI parameter information in Native and
Whether the JNI parameter information in Java is consistent, and passes through the JNI dynamic link when consistent.
6. Java local interface consistency checking method according to claim 5, it is characterised in that: the detection module is also
For when the JNI parameter information in Native and the inconsistent JNI parameter information in Java, throw exception immediately.
7. Java local interface consistency checking method according to claim 5, it is characterised in that: the introducing module is also
For establishing the index based on function name to JNI parameter information, corresponded to being obtained during JNI dynamic link according to function name
Native in JNI parameter information.
8. Java local interface consistency checking method according to claim 5, it is characterised in that: the modified module is also
For increasing a section in the library Native, and the JNI parameter information is recorded in described section.
9. a kind of storage medium, is stored thereon with computer program, which is characterized in that realize power when the program is executed by processor
Benefit require any one of 1 to 4 described in Java local interface consistency checking method.
10. a kind of terminal, which is characterized in that including processor and memory;
The memory is for storing computer program;
The processor is used to execute the computer program of the memory storage, so that the terminal perform claim requires 1 to 4
Any one of described in Java local interface consistency checking method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910497314.XA CN110275710B (en) | 2019-06-10 | 2019-06-10 | Java local interface consistency checking method and system, storage medium and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910497314.XA CN110275710B (en) | 2019-06-10 | 2019-06-10 | Java local interface consistency checking method and system, storage medium and terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110275710A true CN110275710A (en) | 2019-09-24 |
CN110275710B CN110275710B (en) | 2023-07-14 |
Family
ID=67962055
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910497314.XA Active CN110275710B (en) | 2019-06-10 | 2019-06-10 | Java local interface consistency checking method and system, storage medium and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110275710B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112822193A (en) * | 2021-01-05 | 2021-05-18 | 网易(杭州)网络有限公司 | Application communication method, device, equipment and storage medium |
Citations (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6066181A (en) * | 1997-12-08 | 2000-05-23 | Analysis & Technology, Inc. | Java native interface code generator |
US6295643B1 (en) * | 1998-12-10 | 2001-09-25 | International Business Machines Corporation | Method and apparatus for improving java virtual machine performance using persistent execution information |
US20030110024A1 (en) * | 2001-06-21 | 2003-06-12 | Broussard Scott J. | Standardized interface between java virtual machine classes and a host operating environment |
US20050028155A1 (en) * | 2002-12-02 | 2005-02-03 | Samsung Electronics Co., Ltd. | Java execution device and Java execution method |
CN1848088A (en) * | 2005-02-18 | 2006-10-18 | 国际商业机器公司 | Method and apparatus for transforming java native interface function calls into simpler operations during just-in-time compilation |
US20090172652A1 (en) * | 2007-12-31 | 2009-07-02 | Simon Douglas N | Method And Apparatus For Portable Stub Generation |
US20120159477A1 (en) * | 2010-12-17 | 2012-06-21 | Oracle International Corporation | System and method for providing direct socket i/o for java in a virtual machine |
CN103368673A (en) * | 2013-07-17 | 2013-10-23 | 工业和信息化部电信传输研究所 | Conformance testing adapter based on TTCN-3 |
CN103546342A (en) * | 2013-10-18 | 2014-01-29 | 工业和信息化部电信传输研究所 | Terminal consistency testing method and API (application program interface) interface general adapter for terminal consistency testing method |
WO2015192637A1 (en) * | 2014-06-17 | 2015-12-23 | 北京奇虎科技有限公司 | Method and apparatus for reinforced protection of software installation package |
WO2016119548A1 (en) * | 2015-01-27 | 2016-08-04 | 北京奇虎科技有限公司 | Method for preventing software decompilation, and method and apparatus for preventing decompilation software from starting |
US9483283B1 (en) * | 2014-11-20 | 2016-11-01 | Apptimize, Inc. | Enhanced code callback |
WO2017107706A1 (en) * | 2015-12-25 | 2017-06-29 | 北京奇虎科技有限公司 | Elf file protection method and system based on arm instruction virtualization |
CN107871066A (en) * | 2016-09-28 | 2018-04-03 | 传化物流集团有限公司 | code compiling method and device based on Android system |
US20190087210A1 (en) * | 2017-09-20 | 2019-03-21 | Citrix Systems, Inc. | Java native interface and windows universal app hooking |
-
2019
- 2019-06-10 CN CN201910497314.XA patent/CN110275710B/en active Active
Patent Citations (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6066181A (en) * | 1997-12-08 | 2000-05-23 | Analysis & Technology, Inc. | Java native interface code generator |
US6295643B1 (en) * | 1998-12-10 | 2001-09-25 | International Business Machines Corporation | Method and apparatus for improving java virtual machine performance using persistent execution information |
US20030110024A1 (en) * | 2001-06-21 | 2003-06-12 | Broussard Scott J. | Standardized interface between java virtual machine classes and a host operating environment |
US20050028155A1 (en) * | 2002-12-02 | 2005-02-03 | Samsung Electronics Co., Ltd. | Java execution device and Java execution method |
CN1848088A (en) * | 2005-02-18 | 2006-10-18 | 国际商业机器公司 | Method and apparatus for transforming java native interface function calls into simpler operations during just-in-time compilation |
US20090172652A1 (en) * | 2007-12-31 | 2009-07-02 | Simon Douglas N | Method And Apparatus For Portable Stub Generation |
US20120159477A1 (en) * | 2010-12-17 | 2012-06-21 | Oracle International Corporation | System and method for providing direct socket i/o for java in a virtual machine |
CN103368673A (en) * | 2013-07-17 | 2013-10-23 | 工业和信息化部电信传输研究所 | Conformance testing adapter based on TTCN-3 |
CN103546342A (en) * | 2013-10-18 | 2014-01-29 | 工业和信息化部电信传输研究所 | Terminal consistency testing method and API (application program interface) interface general adapter for terminal consistency testing method |
WO2015192637A1 (en) * | 2014-06-17 | 2015-12-23 | 北京奇虎科技有限公司 | Method and apparatus for reinforced protection of software installation package |
US9483283B1 (en) * | 2014-11-20 | 2016-11-01 | Apptimize, Inc. | Enhanced code callback |
WO2016119548A1 (en) * | 2015-01-27 | 2016-08-04 | 北京奇虎科技有限公司 | Method for preventing software decompilation, and method and apparatus for preventing decompilation software from starting |
WO2017107706A1 (en) * | 2015-12-25 | 2017-06-29 | 北京奇虎科技有限公司 | Elf file protection method and system based on arm instruction virtualization |
CN107871066A (en) * | 2016-09-28 | 2018-04-03 | 传化物流集团有限公司 | code compiling method and device based on Android system |
US20190087210A1 (en) * | 2017-09-20 | 2019-03-21 | Citrix Systems, Inc. | Java native interface and windows universal app hooking |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112822193A (en) * | 2021-01-05 | 2021-05-18 | 网易(杭州)网络有限公司 | Application communication method, device, equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN110275710B (en) | 2023-07-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
AU2018310287A1 (en) | Smart contract processing method and apparatus | |
CN101924656B (en) | Method and device for realizing network equipment CLI (Command Line Interface for batch scripti) based on dynamic configuration | |
US7107579B2 (en) | Preserving program context when adding probe routine calls for program instrumentation | |
US10394694B2 (en) | Unexplored branch search in hybrid fuzz testing of software binaries | |
CN110532038B (en) | Parallel execution method based on Java intelligent contract | |
CN109408393B (en) | Application testing method, device and equipment and computer readable storage medium | |
US10354031B2 (en) | Information processing by interpenetrating signal transmission channel in design for testability of chip | |
CN106648755B (en) | Method and device for dynamically loading dex in android art environment | |
US20130125096A1 (en) | Systems and Methods for Dynamic Collection of Probe Call Sites | |
US20030177472A1 (en) | Method and apparatus for deployment of high integrity software using reduced dynamic memory allocation | |
CN103186463B (en) | Determine the method and system of the test specification of software | |
CN104965687A (en) | Big data processing method and apparatus based on instruction set generation | |
CN111897711A (en) | Method and device for positioning bug in code, electronic equipment and readable storage medium | |
US20020062478A1 (en) | Compiler for compiling source programs in an object-oriented programming language | |
JP5923636B2 (en) | Loop abstraction for model checking | |
CN110275710A (en) | A kind of Java local interface consistency checking method and system, storage medium and terminal | |
US10452534B2 (en) | Asynchronous operation query | |
CN111966383B (en) | Method, system and medium for quantitatively analyzing kernel compatibility of operating system | |
CN113778838A (en) | Binary program dynamic taint analysis method and device | |
CN116893960A (en) | Code quality detection method, apparatus, computer device and storage medium | |
US9489284B2 (en) | Debugging method and computer program product | |
CN113139359B (en) | Virtual simulation test method based on FPGA embedded processor | |
US9495278B2 (en) | Dynamic discovery of data segments within instrumented code | |
US20160291946A1 (en) | Custom class library generation method and apparatus | |
JP2016029547A (en) | Execution module generation apparatus and electronic control unit |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |