Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8315997
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T21:15:25+00:00 2026-06-08T21:15:25+00:00

I am looking for a BCI (Bytecode Instrumentation) library for Java in C or

  • 0

I am looking for a BCI (Bytecode Instrumentation) library for Java in C or C++, to use in a JVMTI agent.

Best case scenario would be something like ASM or BCEL in pure C.

The closest thing I have found so far is only a demo java_crw_demo written by Kelly O’Hair a few years ago and used in Sun’s/Oracle’s tutorials ever since.

Do you know of anything else?

Some rationale: I am building an instrumentation tool to add a getter method to java.lang.Object and overload this getter in every direct subclass of Object. For this reason I cannot use a Java agent. Also, I would like to avoid spawning a secondary JVM to perform the instrumentation – for complexity and speed reasons.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T21:15:26+00:00Added an answer on June 8, 2026 at 9:15 pm

    I once started writing one in C quite a while ago, but I didn’t get very far due to lack of motivation. AFAIK there’s no public releases in C, but it shouldn’t be too hard to write a simple one for your needs according to the JVM Specification. You should be particularly interested in the chapter on the class file format, as well as that on the instruction set.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

looking for windows software who can draw a Use Case diagram like yuml.me anyone
Looking for best advice on how to do this: I have an insert like
Looking for something like the webkit dev tools for analyzing web pages. Ideally it
Looking at the code block in the Java library AsyncHttpClient , the client starts
Looking for a general case solution to determine if any jquery dialog (there are
Looking for a C++ async HTTP library so I can download some zip files
Looking for simple php class routing, like this: http://fatfree.sourceforge.net/page/routing-engine Is there a ready-made solutions?
looking for some advice on what is the best way to deliver an HTML/CSS
Looking for a way to capture user password in case of Tomcat form-based authentication
Looking for MS DOS batch file script to restart Internet explorer. Would highly appreciate

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.