java trace of all runtime variable access -
i need log run-time access variable or object current direction markup classfile modified bytecode performance not issue
bcel looks nice add trace instructions each relevant opcode in bytecode
however, add semantic information source file e.g. variable for-loop counter require ast / parsing tree manipulation.
so asm / javaassist better choices ???
logging variable-usage key requirement - bytecode looks right level handle this. have access source parse tree more semantic information
any thoughts ?
p.s. large prolonged project
look javasnoop (https://www.aspectsecurity.com/research/appsec_tools/javasnoop/). monitor function calls.
Comments
Post a Comment