手机版
热门标签
站点地图
我要投稿
广告合作
联系我们
搜 索
广告位招租
广告位招租
切换导航
首页
人工智能
编程教程
编程导航
编程百科
编程问答
编程博文
编程实例
硬件设备
网络运营
软件教程
移动数码
办公软件
操作系统
网络运维
技术频道
▸ 编程语言
▸ 前端开发
▸ 移动开发
▸ 开发工具
▸ 程序设计
▸ 行业应用
▸ CMS系统
▸ 服务器
▸ 数据库
公众号推荐
微信公众号搜
"智元新知"
关注
微信扫一扫可直接关注哦!
bytecode-manipulation
bytecode-manipulation专题提供bytecode-manipulation的最新资讯内容,帮你更好的了解bytecode-manipulation。
Java字节码ASM-处理被替换的类中的子类引用的最佳方法?
我只是用<a href="https://asm.ow2.io/javadoc/org/objectweb/asm/commons/SimpleRemapper.html" rel="nofollow noreferrer">SimpleRemapper</
作者:佚名 时间:2022-08-23
如何在ASM中访问局部变量?
当我有这样的课程时: <pre class="lang-java prettyprint-override"><code>public class Test { public String injectVariable;
作者:佚名 时间:2022-08-15
java.lang.verify错误:堆栈高度不一致1!= 2
我有一个自定义应用程序,其中生成了Java指令代码。我们正在使用<strong> javacc </strong>生成代码。在其中
作者:佚名 时间:2022-06-12
Javassist字节码检测在运行时为Springboot配置类创建NoClassDefFoundError
我试图在构建期间使用带有gradle build的javassist修改SpringBoot配置java类。我的意图是基于构建配置删除Spring
作者:佚名 时间:2022-06-07
如何识别重写从文库的方法与ASM库?
<P>我使用ASM收集有关的类在Android项目的一些信息(使用gradle这个插件与谷歌联合变换API)。我想找到如果
作者:佚名 时间:2022-05-31
什么是字节码转换?
在阅读 <a href="https://dagger.dev/hilt/gradle-setup.html#hilt-test-dependencies" rel="nofollow noreferrer">dagger-hilt</a> 的文档
作者:佚名 时间:2022-05-28
如何在 ByteBuddy 转换期间扩充方法?
<h2>上下文</h2> 我正在使用 ByteBuddy 实现字节码转换,操作过程是一个多步骤过程。 因此,操作必须能够
作者:佚名 时间:2022-05-22
如何在使用 Javassist 生成的方法中使用对现有对象的引用
我正在使用 Javassist 在运行时生成一个类和方法,但我希望生成的代码具有对现有对象的引用。例如:</p
作者:佚名 时间:2022-05-19
如何在 LuaJIT Bytecode 中直接修改字符串?
我从我之前通过 reddit 和其他论坛编辑字节码的问题以及我从不和谐的同行那里听到的消息中发现,反编
作者:佚名 时间:2022-05-10
在不同的方法调用中跟踪相同的对象
我最近开始使用 BCEL 库来实现我自己的 FindBugs 插件。我有一个 Intent 对象(它是一个 Android 静态分析插
作者:佚名 时间:2022-05-02
如何将 InvokeDynamic 作为参数传递给 ByteBuddy 中的 MethodCall
我想生成一个类的字节码,该类将方法引用作为参数传递给另一个方法。 例如: <pre><code>public class Ge
作者:佚名 时间:2022-05-02
注入 try/catch 块以通过 ASM 对字节码进行序列化检查
我是 ASM 的新手,我需要一些与字节码转换相关的帮助。 我想通过 ASM 为字节码中的每个局部变量
作者:佚名 时间:2022-04-23
无法拦截使用 Byte Buddy 和 Android Buddy 的 Android 视图方法调用我怎样才能做到这一点?
我想拦截android视图类方法调用。例如在视图类中有一个方法名 getHeight()。所以当我的代码 obj.getHeight()
作者:佚名 时间:2022-04-22
java – 字节码操作来拦截设置字段的值
使用像ASM或cglib这样的库,有没有办法将字节码指令添加到类中,以便在设置类字段的值时执行代码?例如,假设我有这个类: public class Person { bool dirty; public String name; public Date birthDate; publi
作者:佚名 时间:2020-01-05
Java:方法中使用的列表字段
在Java中,如何获取方法中使用的Fields?基本上,这是与this one in .NET相同的问题.我不想列出类中的字段,而是列出在类的给定方法中使用的字段.例:public class A { int a; int b; public int bob(){ return a-b; } 我想得到这样的字段:Fields[] fields = F
作者:佚名 时间:2020-01-12
java – 非最终类中的代理最终方法
我需要在Android UI Framework中的各种视图类上代理方法,例如TextView.特别是TextView #setText(int resId).此方法不是界面的一部分.因此,Java Proxy将无法工作,因为它仅适用于接口.我需要使用字节码操作.我发现了一个名为dexmaker的图书馆似乎很有希望.我假设我需要进行运行时字节代码操作,因为A
作者:佚名 时间:2020-04-11
由Oracle和Eclipse的编译器生成的java字节码的差异
我们的项目执行一些 Java字节码工具.我们偶然发现了一些奇怪的行为.假设以下代码段: public void a() { new Integer(2); } Oracle的javac将上述编译成以下字节码: 0: new #2; //class java/lang/Integer 3: dup 4: iconst_2 5: invokespecial
作者:佚名 时间:2020-08-14
将编程注释添加到Java类
用法示例: 我想在类字段上添加一个自定义注释@MyContainer,然后在所有这些字段上自动添加相关的Hibernate注释(取决于字段类型和属性). 另外,我需要将JAXB XmlType注释添加到类中,并将类型名称基于类名. 我还想要根据其类型等向字段添加注释. 所有添加的注释都应该在运行时可用(因此hibernate / JAXB可以找到它们). 我知道以下选项: >预处理类源(错误选项)
作者:佚名 时间:2020-04-02
java – 在编译的类中更改字符串常量
我需要更改部署的 Java程序中的字符串常量,即编译的.class文件中的值.它可以重新启动,但不容易重新编译(虽然这是一个不方便的选项,如果这个问题没有产生任何答案).这可能吗? 更新:我只是使用十六进制编辑器查看文件,看起来我可以轻松地更改字符串.那工作是否不会使文件的某种签名无效?旧的和新的字符串都是字母数字,如果需要,可以是相同的长度. 更新2:我修正了因为我需要改变的特定类是非常小的,并
作者:佚名 时间:2019-07-09
java – JAXB是否使用字节码检测?
我工作的人注意到(在堆栈跟踪中)当使用- javaagent:spring-instrumentation.jar运行jvm时,我的JAXB注释类中有一些我们没有编写的奇怪的新方法:例如SomeJaxbAnnotatedClass $JaxbAccessorM_getFields_setFields_java_util_Set.get 这是否意味着jaxb在可用时使用字节码检测?我在哪里可以阅读有
作者:佚名 时间:2019-06-10
小编推荐
苹果市值2025年有望达4万亿美元
• 三星当前最强PC SSD“PM9E1”启动量产,
• 向智能家居迈进!苹果2025年将发布home
• 中国平板市场大洗牌 为什么华为能够力压
• iFixit拆解苹果AirPods 4耳机:仍是“维
• 英伟达RTX 5090笔记本显卡曝光:24GB G
• 平台惊现英伟达GeForce RTX GT610!竟已
• 联想ThinkBook 16+ 2025锐龙AI 9 365版
热门标签
更多
python
JavaScript
java
HTML
PHP
reactjs
C#
Android
CSS
Node.js
sql
r
python-3.x
MysqL
jQuery
c++
pandas
Flutter
angular
IOS
django
linux
swift
typescript
路由器
JSON
路由器设置
无线路由器
h3c
华三
华三路由器设置
华三路由器
电脑软件教程
arrays
docker
软件图文教程
C
vue.js
laravel
spring-boot