On Saturday 23 February 2002 20:31, Dan Sugalski wrote: > Well, what I was thinking was we could have a section that marked all > the legitimate jump destinations. We could then vet this destination > table at load time for safe interpreters to make sure that the > destinations really were proper places to jump (i.e. real opcodes) > and then have the branch/jump ops vet their destination against the > valid destination table rather than checking every time to make sure > it's OK. > > Might not be worth it, of course.
That's (potentially) an awfully big table. But maybe I'm missing the point. If we're not trusting the bytecode to be safe, and this table is part of the bytecode, how do we know the table is safe? -- Bryan C. Warnock [EMAIL PROTECTED]