当前位置:网站首页>【ASM】字节码操作 ClassWriter 类介绍与使用
【ASM】字节码操作 ClassWriter 类介绍与使用
2022-07-06 09:36:00 【九师兄】

0.概述
本章视频: https://www.bilibili.com/video/BV1ww411o7pF/?spm_id_from=pageDriver
在asm.jar文件中,-共包含了30多个类,我们会介绍其中10个类。那么,剩下的20多个类,为什么不介绍呢?因为剩下的20多个主要起到”辅助”的作用,它们更多的倾向于是幕后工作者”;而”登上舞台表演的"则是属于那10个类。
在“第二章”当中,我们会主要介绍从“无“到“有“生成一个新的类,其中会涉及到ClassVisitor.ClassWriter 、FieldVisitor 、FieldWriter 、MethodVisitor 、MethodWriter 、Label和Opcodes类。
在“第三章”当中,我们会主要介绍修改“已经存在的美”,使之内容发生改变,其中会涉及到ClassReader和Type类。
在这10个类当中,最重要的是三个类,即ClassReader、ClassVisitor.ClassWriter类。这三个类的关系,可以描述成下图:

1. ClassWriter
1.1 class info
第一个部
边栏推荐
- [reverse] repair IAT and close ASLR after shelling
- Redis快速入门
- 自动化运维利器-Ansible-Playbook
- Connect to LAN MySQL
- 华为认证云计算HICA
- 06 products and promotion developed by individuals - code statistical tools
- Final review of information and network security (full version)
- On the clever use of stream and map
- How does wechat prevent withdrawal come true?
- 03个人研发的产品及推广-计划服务配置器V3.0
猜你喜欢

Flink 解析(二):反压机制解析

Wu Jun trilogy insight (IV) everyone's wisdom

ByteDance overseas technical team won the championship again: HD video coding has won the first place in 17 items

04 products and promotion developed by individuals - data push tool

03个人研发的产品及推广-计划服务配置器V3.0

Akamai anti confusion

Re signal writeup

07 personal R & D products and promotion - human resources information management system

Prototype chain inheritance

JVM class loading subsystem
随机推荐
应用服务配置器(定时,数据库备份,文件备份,异地备份)
复盘网鼎杯Re-Signal Writeup
Program counter of JVM runtime data area
Interpretation of Flink source code (III): Interpretation of executiongraph source code
The solution to the left-right sliding conflict caused by nesting Baidu MapView in the fragment of viewpager
Akamai浅谈风控原理与解决方案
關於Stream和Map的巧用
On the clever use of stream and map
Flink源码解读(二):JobGraph源码解读
Models used in data warehouse modeling and layered introduction
自动化运维利器-Ansible-Playbook
MySQL报错解决
1. Introduction to JVM
虚拟机启动提示Probing EDD (edd=off to disable)错误
Flink源码解读(三):ExecutionGraph源码解读
Akamai anti confusion
Flink analysis (II): analysis of backpressure mechanism
JVM 垃圾回收器之Serial SerialOld ParNew
PySpark算子处理空间数据全解析(4): 先说说空间运算
02 personal developed products and promotion - SMS platform