Return-Path: X-Original-To: apmail-jakarta-bcel-user-archive@www.apache.org Delivered-To: apmail-jakarta-bcel-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 37882400C for ; Fri, 1 Jul 2011 07:59:39 +0000 (UTC) Received: (qmail 2209 invoked by uid 500); 1 Jul 2011 07:59:38 -0000 Delivered-To: apmail-jakarta-bcel-user-archive@jakarta.apache.org Received: (qmail 2015 invoked by uid 500); 1 Jul 2011 07:59:27 -0000 Mailing-List: contact bcel-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "BCEL Users List" Reply-To: "BCEL Users List" Delivered-To: mailing list bcel-user@jakarta.apache.org Received: (qmail 89854 invoked by uid 99); 1 Jul 2011 07:50:30 -0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of yazriel@gmail.com designates 209.85.220.172 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=jlOKeB61lla1KOjSQbFWB3I9AGOurUb1xDjuJyb38Ss=; b=FzBf0SFbt5XS3j1YGrr8m7r/sl5eY1822wEsCuACAacwKheOfhZCCTYz2/EFtpJgyH QiAKrQ2pI/hL3/EGACLQ1bbCIEThnPV8zAuzS1wlb6TPRlBYWc+yDXAXHLfUSEt7LPWV eHu3CldSxxZl+yDJBta4tH5aTwXKJv3etq00w= MIME-Version: 1.0 Date: Fri, 1 Jul 2011 10:50:01 +0300 Message-ID: Subject: instrumenting all variable access From: y a To: bcel-user@jakarta.apache.org Content-Type: multipart/alternative; boundary=bcaec54ee8dad4fba304a6fd43fa X-Virus-Checked: Checked by ClamAV on apache.org --bcaec54ee8dad4fba304a6fd43fa Content-Type: text/plain; charset=ISO-8859-1 HI there I need to dynamically log all read/write access to any variables/objects during class execution in the jvm This is for a phd parallelism research, and i have a strong background in C/java a. Are there any existing code out there ? I played with BCEL to trace some of the opcodes... nice stuff b. Can someone recommend how to add some semantic info from the .class source file ? For example, i would like to know if a certain variable is a for-loop counter Has anyone combined some of the syntax-tree parsers with BCEL ? Thanks for any suggestions or input yazriel atty gmail dotty com --bcaec54ee8dad4fba304a6fd43fa--