Re: Timing is everything



nospam@xxxxxxxxxxxx (Spam Killer) écrivait news:433c7e4c.608727
@NEWS.AON.AT:

> [...]

Nice work, "Spam Killer".

We need such a Tool for RosAsm. It was "planed" since ages,
but i have no idea about how to solve some problems:

The idea was to add a Floating Menu Item, in RosAsm, in
cases when the user would Right-Click upon a selected
Block of Instructions,... proposing to... [Profile].
(Such a Block Selection already exists for the Blocks
Indentations. Just another branching...).

Then, a small Routine would declare a Chunk of Virtual
Memory, copy the selected _Code_ (after Compilation of
the whole Source, of course), and execute it there, in
the same way you are doing from your Dialog.

Problems:

1) The Code must be valid. I have no idea about how to
make sure of this, and it seems simply impossible to
me...

2) We must ensure the RET (easy), per se, but, i also
don't know how to ensure that it does not RET before
the end of the Copied Chunk.

So, unless we would let the user (take a pure beginner
playing with this, without knowing a thing...) jumping
joyfully in the Debugger, without understanding that,
from a working App, some Chunk could hang when executed
independantly.

Would you have any idea about how to make such a tool
somewhat "Beginner friendly", that is, controlling that
the selection can be executed in a secure way? (Refused
when not secure)...


Betov.

< http://rosasm.org >








.


Quantcast