fbpx
Wikipedia

Byte Code Engineering Library

The Byte Code Engineering Library (BCEL) is a project sponsored by the Apache Foundation previously under their Jakarta charter to provide a simple API for decomposing, modifying, and recomposing binary Java classes (I.e. bytecode). The project was conceived and developed by Markus Dahm prior to officially being donated to the Apache Jakarta foundation on 27 October 2001.

Apache Commons BCEL
Developer(s)Apache Software Foundation
Stable release
6.8.1 / January 11, 2024; 3 months ago (2024-01-11)
Repositoryhttps://github.com/apache/commons-bcel
Written inJava
Operating systemCross-platform
TypeBytecode Engineering Library
LicenseApache License 2.0
Websitecommons.apache.org/bcel/

Uses edit

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.

See also edit

External links edit

  • Apache Commons BCEL - The BCEL Project Home Page.
  • BCEL-Based Project Listing - A listing of projects that make use of the BCEL Library.
  • Apache Jakarta Home - The Apache Jakarta Home Page.
  • AspectJ - The AspectJ Project Home Page. (One of the high-visibility projects that makes use of BCEL.)

byte, code, engineering, library, this, article, does, cite, sources, please, help, improve, this, article, adding, citations, reliable, sources, unsourced, material, challenged, removed, find, sources, news, newspapers, books, scholar, jstor, january, 2013, l. This article does not cite any sources Please help improve this article by adding citations to reliable sources Unsourced material may be challenged and removed Find sources Byte Code Engineering Library news newspapers books scholar JSTOR January 2013 Learn how and when to remove this message The Byte Code Engineering Library BCEL is a project sponsored by the Apache Foundation previously under their Jakarta charter to provide a simple API for decomposing modifying and recomposing binary Java classes I e bytecode The project was conceived and developed by Markus Dahm prior to officially being donated to the Apache Jakarta foundation on 27 October 2001 Apache Commons BCELDeveloper s Apache Software FoundationStable release6 8 1 January 11 2024 3 months ago 2024 01 11 Repositoryhttps github com apache commons bcelWritten inJavaOperating systemCross platformTypeBytecode Engineering LibraryLicenseApache License 2 0Websitecommons wbr apache wbr org wbr bcel wbr Uses editBCEL 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 Static code analysis FindBugs uses BCEL to analyze Java bytecode for code idioms which indicate bugs See also edit nbsp Free and open source software portal nbsp Computer programming portal ObjectWeb ASM JavassistExternal links editApache Commons BCEL The BCEL Project Home Page BCEL Based Project Listing A listing of projects that make use of the BCEL Library Apache Jakarta Home The Apache Jakarta Home Page AspectJ The AspectJ Project Home Page One of the high visibility projects that makes use of BCEL Retrieved from https en wikipedia org w index php title Byte Code Engineering Library amp oldid 1216811577, wikipedia, wiki, book, books, library,

article

, read, download, free, free download, mp3, video, mp4, 3gp, jpg, jpeg, gif, png, picture, music, song, movie, book, game, games.