bytecode
ASM: Stateful Transformation
I want to write a MethodVisitor that transforms LDC instructions that are for multiplication. Example bytecode:[详细]
2023-01-30 08:29 分类:问答Java little endian order
I need to store data as LITTLE_ENDIAN instead of default BIG_ENDIAN. Here\'s my sample code: for (int i = 0; i < logo.length; i++) {[详细]
2023-01-30 06:18 分类:问答Inject data in an swf at compile time
Is it possible to inject data, for example a collection of assets (video, images...), in an swf at compile time?[详细]
2023-01-27 23:30 分类:问答Getting weird errors on stack manipulation
As part of some simulations that I am running using a tool called JIST/SWANS I am getting some weird errors. This simulator has been written for Java 1.4 and I am attempting to port it to 1.5.[详细]
2023-01-27 07:38 分类:问答Is it possible to inject code in an android application?
I would like to inject c开发者_JAVA百科ode in an android application at runtime. I have tried to use dx tool to generate a dexfile in the sdcard but when i want to instantiate, it fails. Are there any[详细]
2023-01-26 08:06 分类:问答Static Initializer in asm
I want to initialize a static field which I added to a class using asm. If I could access the static initializer then I could to the initializat开发者_如何学编程ion.[详细]
2023-01-24 18:27 分类:问答Java: Getting Bytecode of Class at Runtime from within the Same JVM
Related to:Is there a way to obtain the bytecode for a class at runtime? I\'m adding durability to Clojure, and I\'m finally at the point where I\'m ready to add functions.In Clojure, functions are b[详细]
2023-01-24 16:36 分类:问答ClassCast Exception is thrown after I've used ASM Toolkit to replace the body of a static method
I\'ve been trying to use the ASM bytecode toolkit to replace the body of a public and static method in a class. The actual body replacement seems to work fine and I do get the expected behavior if exe[详细]
2023-01-23 13:24 分类:问答Has the CIL(Common Intermediate Language) changed for .Net 4.0?
I know that until 3.5, .Net uses the byte code defined in .Net 2.0. I am wondering whether the new 4.0 byte code changes or not. Thanks![详细]
2023-01-23 06:26 分类:问答How to emit and execute Java bytecode at runtime?
I am writing an interpreter in Java for a domain-specific language with some scripting capabilities. I have already implemented a parser and now need to do a back end. To this end I am considering eit[详细]
2023-01-22 02:41 分类:问答