• Home
    • View
    • Login
    This page
    • Normal
    • Export PDF
    • Page Information

    Loading...
  1. Dashboard
  2. Undefined Space
  3. Code Tools
  4. asmtools

asmtools

  • Created by Iris Clark, last modified by Kevin Looney on Jan 08, 2015

AsmTools

 

The AsmTools open source project is used to develop tools for the production of proper and improper Java '.class' files. AsmTools are being opened in order to facilitate a community of Java .class file production for various testing and other OpenJDK development applications.

AsmTools consist of a set of (Java class file) assembler/disassemblers:

Jasm/Jdis - an assembler language that provides a Java-like declaration of member signatures, while providing Java VM specification compliant mnemonics for byte-code instructions. Jasm also provides high-level syntax for constructs often found within classfile attributes.   Jasm encoded tests are useful for sequencing byte codes in a way that Javac compiled code might not normally sequence byte-codes.

JCod/JDec - an assembler language that provides byte-code containers of class-file constructs. JCod encoded tests are useful for testing the well-formedness of class-files, as well as creating collections within a class-file construct that might be size-bounded by a normal Java compiler.   JCod can also be used to 'fuzz' class files in a methodical way that respects class-file constructs.

AsmTools are completely reflexive - Java binary (.class) files may be disassembled into textual representations, which in turn can be assembled back to the same binary file.

AsmTools are developed to support the latest class file formats, in lock-step with JDK development.

Other open source Java assembler tools and binary classfile frameworks exist.  They can be used for the purpose of synthesizing classfiles, however:

a.) they typically are designed to enforce the limits imposed by the VM specification of the class file format.  They are not designed to produce classes that violate those limits.

b.) other assembler tools may not necessarily follow strict Java mnemonics as defined in the Java VM spec.

c.) other assembler tools may not stay in lock-step with the current generation of the JDK and VM specifications.

d.) class file libraries are harder to use for simple manipulations of any given class file.  Typically, one has to create a program in that framework to parse and modify a class for a specific change to a given class.

The AsmTools open source project is part of the  Code Tools Project. It exists to promote a community that will improve it, further its development, and use it to develop test suites. We encourage you to browse, download, contribute, and get involved.

 

  • Contribute
  • Browse

Quick Links

Downloads

(Provided by Adopt OpenJDK)

  • Tip (latest <dev>)
  • Released

Repository

http://hg.openjdk.java.net/code-tools/asmtools/

Usage and development

  • User's Guide
  • FAQ
  • Open issues
  • Mailing List: asmtools-dev
  • Build instructions
  • Repository and code structure
  • Source Layout
  • Developer's guide

Related projects

  • JT Harness
  • Jtreg
  • SigTest
  • JCov

Blogs

  • Java Compatibility Tools

 

News and Announcements

The AsmTools project opened in the CodeTools Project of OpenJDK (Dec 11, 2014)

Related Projects and Links

This section contains links to technologies and blogs that are related to the AsmTools project.

Development Tools

JCovA code-coverage tool, useful for describing test coverage of an API
SigTestA static analyzer used to to describe platform compatibility and API Changes

JT Harness Testing Harness and Extensions

JT HarnessThe JT harness is a flexible test harness that can be used to control and execute test suites.
ME FrameworkThe ME Framework is an open source set of JT harness plugins that supports the Java ME platform. Test suite architects use the JT harness and the ME Framework to construct test suites for Java ME technologies.
jtregThe jtreg test harness is used by the JDK test framework. This framework is intended primarily for regression tests. It can also be used for unit tests, functional tests, and even simple product tests.

Blogs

Java Compatibility Tools BlogThis blog provides topics of general interest for people writing tools to test Java platform compatibility and conformance.
Overview
Content Tools
ThemeBuilder
  • No labels

Terms of Use
• License: GPLv2
• Privacy • Trademarks • Contact Us

Powered by a free Atlassian Confluence Open Source Project License granted to https://www.atlassian.com/software/views/opensource-community-additional-license-offer. Evaluate Confluence today.

  • Kolekti ThemeBuilder Powered by Atlassian Confluence 8.5.21
  • Kolekti ThemeBuilder printed.by.atlassian.confluence
  • Report a bug
  • Atlassian News
Atlassian
Kolekti ThemeBuilder EngineAtlassian Confluence
{"serverDuration": 234, "requestCorrelationId": "bcec7eaeeafbcc34"}