Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » is it possible to set breakpoints on the bytecode level?
is it possible to set breakpoints on the bytecode level? [message #190946] Wed, 31 January 2007 07:45
Eclipse UserFriend
Originally posted by: mma73.aub.edu.lb

I'm working on a tool for detecting illegal flows in a program. Basically,
I set a security policy for the flow of information between variables in
my program, and then I allow the program to run (either in normal mode or
in debug mode by setting a breakpoint at a certain place). Then, if an
insecure flow is detected (violation to the policy I set), the program
should stop execution. The way I'm thinking of stopping the execution is
to manually set a breakpoint on the line where the violation will take
place to stop it from happening. The problem is the back-end tool I'm
using to compute the flows and detect the violation executes in parallel
with Eclipse and would have already executed that statement in order to
detect the violation, so I need a way to stop it from executing on the
Eclipse front-end. Setting a breakpoint on that line after detecting the
violation wouldn't help because execution would have already skipped it,
so one idea is to set the breakpoint on the bytecode level of the code.
The back-end tool would detect the violation after doing the load
instructions but before actually storing the variable value (istore), so
if it's possible to set the breakpoint at the "istore" instruction, and
not at the beginning of the entire block of instructions corresponding to
that statement, then the execution would stop in Eclipse before the
violation occurs.

I have the basic idea but I don't know if it can be done in Eclipse?!

Hope anybody can help and thanks in advance,
Marwa El-Ghali
Previous Topic:Installation of CDT3.1.1 on eclipse 3.1
Next Topic:Installing features from ZIPs
Goto Forum:
  


Current Time: Thu Apr 25 22:09:39 GMT 2024

Powered by FUDForum. Page generated in 0.08225 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top