当前位置:网站首页>[ASM] introduction and use of bytecode operation classwriter class
[ASM] introduction and use of bytecode operation classwriter class
2022-07-06 17:37:00 【Ninth senior brother】

0. summary
This chapter video : https://www.bilibili.com/video/BV1ww411o7pF/?spm_id_from=pageDriver
stay asm.jar In file ,- Includes 30 Multiple classes , We will introduce 10 Classes . that , The rest 20 Multiple classes , Why not introduce ? Because the rest 20 Multiple main functions ” auxiliary ” The role of , They tend to work behind the scenes ”; and ” On the stage " It belongs to that 10 Classes .
stay “ Chapter two ” among , We will mainly introduce from “ nothing “ To “ Yes “ Generate a new class , It will involve ClassVisitor.ClassWriter 、FieldVisitor 、FieldWriter 、MethodVisitor 、MethodWriter 、Label and Opcodes class .
stay “ The third chapter ” among , We will mainly introduce the modification “ Beauty that already exists ”, Change the content , It will involve ClassReader and Type class .
Here 10 Among the three classes , The most important are the three classes , namely ClassReader、ClassVisitor.ClassWriter class . The relationship between these three classes , It can be described as the following figure :

1. ClassWriter
1.1 class info
First Department
边栏推荐
- Wu Jun's trilogy experience (VII) the essence of Commerce
- mysql 基本增删改查SQL语句
- 网络分层概念及基本知识
- CTF reverse entry question - dice
- Display picture of DataGridView cell in C WinForm
- Precipitated database operation class - version C (SQL Server)
- [mmdetection] solves the installation problem
- 04个人研发的产品及推广-数据推送工具
- 分布式(一致性协议)之领导人选举( DotNext.Net.Cluster 实现Raft 选举 )
- Coursera cannot play video
猜你喜欢

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

Flink 解析(四):恢复机制

JVM garbage collector part 1

Akamai浅谈风控原理与解决方案

Connect to LAN MySQL

List set data removal (list.sublist.clear)

Development and practice of lightweight planning service tools

【MySQL入门】第一话 · 初入“数据库”大陆

03 products and promotion developed by individuals - plan service configurator v3.0

List集合数据移除(List.subList.clear)
随机推荐
Flink parsing (IV): recovery mechanism
关于Selenium启动Chrome浏览器闪退问题
mysql的合计/统计函数
【ASM】字节码操作 ClassWriter 类介绍与使用
Flink parsing (VI): savepoints
Wu Jun's trilogy experience (VII) the essence of Commerce
07个人研发的产品及推广-人力资源信息管理系统
案例:检查空字段【注解+反射+自定义异常】
JUnit unit test
C WinForm series button easy to use
轻量级计划服务工具研发与实践
【Elastic】Elastic缺少xpack无法创建模板 unknown setting index.lifecycle.name index.lifecycle.rollover_alias
Flink analysis (I): basic concept analysis
Flink源码解读(一):StreamGraph源码解读
C#WinForm中的dataGridView滚动条定位
mysql 基本增删改查SQL语句
Flink parsing (III): memory management
C# NanoFramework 点灯和按键 之 ESP32
Based on infragistics Document. Excel export table class
基于LNMP部署flask项目