A obfuscator is downloaded from the Kingdee website. Other obfuscators are implemented on compiled byte code.Article, The obfuscator is generated for the CompilerCodeAnd then generate the class file. In this way, only one step is required for compilation and obfuscation.
It is easy to run except for one parameter, and the others are the same as javac.
Java-jar C:/JOC. jar-xobfuscate: Package XX. Java
Try
↓
Insert an identifier into a symbol table
@fillMemory ↓
Register memory, return address
@generateCode ↓
Generate pseudo Code
@checkType ↓
Check type legality (traverse inheritance tree, symbol table)
@checkType ↓
To check whether a variable type matches an expression type
@checkTree ↓
Check whether Child_name is a subclass of parent_name (Traverse inheritance tree)
@checkTree ↓
Check if Child_name already exists in the inheritance tree
@fillTree ↓
Insert Child_name into t
(inkfish original, reprint please indicate the source: http://blog.csdn.net/inkfish/)
In order to seek the performance optimization of Java code, search from the internet to use final keyword compile-time inline optimization method, but really effective. The actual test found that not necessarily, even the performance impact of the huge, eventually abandoned the idea of using final optimization.
Test environment: Windows XP sp2,jdk 1.6.0_15-b03,eclips
Continue to learn ant today. For simplicity's sake, use ant to do a common trilogy of Java programs: writing, compiling, and running.1 According to yesterday's learning results, to do a project should first plan the engineering structure. So first layout file structure: Src folder put source files, classes put the compiled files.2. Write a simple source file Helloworld.java content is to print Hello world a few words then put in the SRC folder3. Write
First, set the default encoding of JSP java files in eclipse
Window-preference Example 1:
In this case, all JSP Java will follow the default encoding.
Troubleshooting:
1. If a JSP is garbled in eclipse, it must be because someone has changed the default code of JSP in eclipse,
View the JSP property, as shown in Figure 2:
If we see that the JSP code is GBK, if the JSP code is garbled, the default encodi
technology. After you complete the front-end of a compiler, you have several backend options:
Use the CLR or Java virtual machine as the backend. This method is the easiest because these large virtual machines are extremely abstract. It is ideal for dynamic languages and scripts.
Use a reliable open-source or commercial backend framework. Like the famous llvm (http://llvm.org /). In this way, ll
Write the compiler, linker, and compiler by yourself
A complete set of Compiler Principles and Techniques play an important role in the entire computer science field. Learning it can be of great help to programmers. After studying the history, we will find that the program design masters praised by everyone are masters in the compilation field, such as the bill g
Reprinted in this article
Address: http://www.lingcc.com/2009/12/22/10404/
For a summary of compiler books, refer to a list of compiler books-rich compiler references.
If the job is related to compilers or compiler enthusiasts, no one has the urge to write a compiler on the
Compiler and javac compilation principlein the previous article, we know. Java is a compiled and interpreted language whose source code is compiled by the compiler javac into a binary language that can be recognized by the JVM, and the JVM interprets it as a machine language that can be recognized by the platform. So what is a
correspond to the installation MSVC2015. The MSVC module is typically installed when VS2015 is installed.
In addition, when installing other versions of VS, such as VS2017, the option to install C + +, it is very likely that QT can not find the C + + compiler, appears: "Need to set up a compiler to build." Set up a compiler in the build Suite option. "Such hints
Compiler Introduction: Overview, compiler Overview
First of all, I declare that this series of blog posts is a record in the process of learning compilation principles. The main reference book is Allen I Holub's Compiler design in C.
First of all, I would like to express my gratitude to the author of this book, such as the dragon book, the tiger book, and the wha
Register allocation is a way to increase program execution speed by allocating program variables to registers as much as possible. Register is one of the most important problems in compiler optimization (good register allocation can increase program execution speed by more than 250%), and it is also one of the hottest research fields in compiler theory (the research field has proposed a large number of regi
Some problems encountered during the compilation of MIPS-Based C language compiler programs, mips Compiler
When I used Java to write a C-(simplified C Language) compiler, I encountered a long problem: After testing C-code input and executing parser and typechecking, A complete MIPS code is successfully compiled. Howev
Test whether the compiler allows annotation nesting. The Compiler allows annotation nesting.
Problem: Some C compilers allow nested comments. Write a test program with the following requirements:
For compilers that allow nested comments or compilers that do not allow nested comments
Can be compiled normally (no error message appears), but the results of program execution in both cases
But not the same.
Tip:
For example, how to use dumpbin.exeto check the information embedded by the compiler, dumpbin.exe Compiler
Enable CMD
Run the following command in the dumpbin Directory: D: \ Program Files (x86) \ Microsoft Visual Studio 12.0 \ VC \ bin.
Run the command VCVARS32.BAT to configure the environmentIf you do not run vcvars32.bat, the following prompt is displayed:
Run the dumpbin commandD: \ Program Files (
C ++ compiler function compilation process and compiler function compilation process
In C ++, the type search process is relatively simple, basically the name search, which is not described here.
For a function (or member function) called in the. cpp file, the compiler mainly does the following three things:
1. Search for the name. first, you can find the name in
Operating system, CPU, compiler, runtime library, system call. This is a relatively tall concept in computer science, and many trained are not even clear about a simple code execution process, which block is the operating system control, which is the compiler control, what role the CPU actually played, what is the runtime library.
Thinking about the problem, we must first grasp the macro, grasp the general
Note: This article refers to Li Wensheng teacher handouts. If you have any irregularities, please contact the programming language in time.
A tool for communication between people and computers. Low-level language machine language symbol language assembler
Question: What is the symbolic language? Advanced language Procedural language--user-oriented language such as: C, Pascal-specific language-problem-oriented languages such as: SQL
Advantages: independent of the machine. The program portability
GCC compiler entry [reprint], gcc compiler entry reprint
The GCC Compiler (gnu c Compiler) is an open-source Compiler organized by GNU. It is the default C language Compiler in Linux. It can compile other languages in addition to
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.