Ugrás a tartalomhoz

„Byte Code Engineering Library” változatai közötti eltérés

A Wikipédiából, a szabad enciklopédiából
Tartalom törölve Tartalom hozzáadva
Új oldal, tartalma: „{{ Szoftver infobox | név = Commons BCEL | logo = | screenshot = | caption = | fejlesztő …”
(Nincs különbség)

A lap 2012. február 26., 21:17-kori változata

Commons BCEL
FejlesztőApache Software Foundation
Legfrissebb stabil kiadás6.4.1 (stabil verzió, 2019. október 2.)[1]
Programozási nyelvJava
Operációs rendszerplatformfüggetlen
Kategóriabytecode Engineering Library
LicencApache Licenc 2.0
A Commons BCEL weboldala

A Byte Code Engineering Library (BCEL) egy projekt, melyet az Apache Software Foundation szponzorál a Commons projekt részeként, hogy biztosítson egy egyszerű API-t kibontásához, módosításhoz, majd újra csomagolásához bináris Java osztályok kezeléséhez (I.e. bytecode). A projektet eredetileg Markus Dahm fejlesztette mielőtt hivatalosan az Apache Jakarta alapítványnak adományozta 2001. október 27-én. BCEL java-központú jelenleg, és jelenleg nem támogat más bájtkód megvalósítást (pl. .NET bytecode, Python bájtkód).

2011. júliusában került át az Apache Commons alá.[2]

Használat

BCEL provides a simple library that exposes the internal aggregate components of a given Java class through its API as object constructs (as opposed to the disassembly of the lower-level opcodes). These objects also expose operations for modifying the binary bytecode, as well as generating new bytecode (via injection of new code into the existing code, or through generation of new classes altogether.) The BCEL library has been used in several diverse applications, such as:

  • Java Bytecode Decompiling, Obfuscation, and Refactoring
  • Performance and Profiling
Instrumentation calls that capture performance metrics can be injected into Java class binaries to examine memory/coverage data. (For example, injecting instrumentation at entry/exit points.)
  • Implementation of New Language Semantics
For example, Aspect-Oriented additions to the Java language have been implemented by using BCEL to decompose class structures for point-cut identification, and then again when reconstituting the class by injecting aspect-related code back into the binary. (See: AspectJ)
FindBugs uses BCEL to analyze Java bytecode for code idioms which indicate bugs.

Lásd még

Sablon:Portal

Külső hivatkozások

  1. https://github.com/apache/commons-bcel/releases/tag/rel%2Fcommons-bcel-6.4.1, 2019. október 28.
  2. Commons alá átkerülés