Byteman

Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
corrected AT ENTRY injection to avoid injecting code into loops and fixed stacktrace tests accordingly as line number in the trigger fraem at entry is now -1 -- fixes BYTEMAN-111

removed redundant argument to transform method and tweaked a few error messages

    • -19
    • +18
    /src/org/jboss/byteman/agent/Transformer.java
added verbose mode trace to helper manager

    • -2
    • +20
    /src/org/jboss/byteman/agent/HelperManager.java
added check so we don't report failures for classes with no matching methods

    • -14
    • +21
    /src/org/jboss/byteman/agent/Transformer.java
tweaked error message to be more informative

added extra functions to builtin counter API

    • -13
    • +30
    /src/org/jboss/byteman/rule/helper/Helper.java
corrected errors in tarcing script

contribute prototype dtest framework to the byteman project. BYTEMAN-110

    • -0
    • +123
    /contrib/dtest/README.txt
    • -0
    • +77
    /contrib/dtest/build.xml
fixed error introduced into script

made check adapters barf on native method - fixes BYTEMAN-109

patched to account for frame entries which were being overlooked -- fixes BYTEMAN-108

hmm, doc changed? resaving just in case -- fixes for BYTEMAN-107

documented helper lifecycle support -- fixes for BYTEMAN-107

added helper lifecycle support and added implementation of lifecycle methods which generate debug trace to the default helper. still needs documenting in th euser guide -- fixes for BYTEMAN-107

    • -0
    • +278
    /src/org/jboss/byteman/agent/HelperManager.java
    • -3
    • +34
    /src/org/jboss/byteman/rule/Rule.java
    • -0
    • +139
    /tests/src/org/jboss/byteman/tests/submit/TestSubmit.java
documented addition of $@ variable -- fixes BYTEMAN-103

emabled use $@ to refer to called method argument array in AT INVOKE rules fixes BYTEMAN-103. n.b. this required serious rewriting of local variable allocation support. still needs documenting in the user guide

    • -2
    • +105
    /src/org/jboss/byteman/agent/Transformer.java
    • -14
    • +24
    /src/org/jboss/byteman/rule/binding/Binding.java
    • -228
    • +229
    /src/org/jboss/byteman/rule/grammar/ECATokenLexer.java
  1. … 3 more files in changeset.
added missing stack management API methods - fixes BYTEMAN-104

added a few missing helper stack management API combinations for consistency and documented APIs -- fixes for BYTEMAN-104

    • -74
    • +150
    /src/org/jboss/byteman/rule/helper/Helper.java
made stack management API consistent and corrected errors in javadoc -- still need to update the user guide

    • -165
    • +333
    /src/org/jboss/byteman/rule/helper/Helper.java
    • -2
    • +14
    /tests/dd/scripts/helpertests/TestStackTrace.txt
moved stack trace helper code from sample jar into default helper and added extra methods for matching caller stack farmes -- still needs documenting -- partial fix for BYTEMAN-104

    • -0
    • +836
    /src/org/jboss/byteman/rule/helper/Helper.java
    • -0
    • +84
    /tests/dd/scripts/helpertests/TestCallerMatches.txt
    • -0
    • +86
    /tests/dd/scripts/helpertests/TestStackTrace.txt
    • -0
    • +195
    /tests/src/org/jboss/byteman/tests/helpertests/TestStackTrace.java
corrected type check method -- fixes BYTEMAN-106

fixed up incorrect AT ENTRY rule ordering and added test to check order for ENTRY and READ/WRITE location types -- fixes BYTEMAN-105

    • -0
    • +10
    /tests/dd/scripts/location/TestEntry.txt
modified semantics of $* to include this in slot 0 of array -- fixes BYTEMAN-102

corrected wrong name in copyright file

corrected defaulting of arguments to trace routine

documented introduction of special variables $!, $^, $# and $* -- fixes BYTEMAN-102 and BYTEMAN-88

added support for new builtin vars $^, $* and $# which are bound to the current throwable on the trigger method stack, an array containing the current values of all the trigger method parameters and a count of the number of trigger method parameters. obviously $^ is only valid in an AT THROW rule. None of these variables are currently assignable. fixes BYTEMAN-101 and BYTEMAN-88

    • -12
    • +40
    /src/org/jboss/byteman/rule/binding/Binding.java
    • -171
    • +171
    /src/org/jboss/byteman/rule/grammar/ECATokenLexer.java
    • -0
    • +38
    /tests/dd/scripts/misc/TestParamBinding.txt
  1. … 5 more files in changeset.
fixed type conversion from Numeric to String so it plants a call to toString() -- fixes BYTEMAN-101

upgrade junit to 4.8.2 BYTEMAN-100

modified Submit class so that it retains order of rules scritps when installing rules -- fixes for BYTEMAN-98

    • -0
    • +30
    /src/org/jboss/byteman/agent/submit/ScriptText.java
    • -31
    • +149
    /src/org/jboss/byteman/agent/submit/Submit.java