search for: jsop_call

Displaying 2 results from an estimated 2 matches for "jsop_call".

2007 Jan 12
1
compiling vs interpreting
...red directly at its compilation and do all necessary checks while it compiles. However, Actionscript bytecodes are stack-based and I'd need to do runtime checking to make sure it does never pop off more value than it had pushed before. - incompatible bytecodes the bytecode for a function call (JSOP_CALL) includes the number of arguments to call the function with. However, the Actionscript code pops it off the stack. While being security sensitive (see above) there is also no bytecode for it. Another such example is the GetVariable action that can request a whole old-style path such as "/root/...
2007 Feb 06
0
109 commits - configure.ac libswfdec/js libswfdec/Makefile.am libswfdec/swfdec_bits.c libswfdec/swfdec_bits.h libswfdec/swfdec_buffer.c libswfdec/swfdec_button_movie.c libswfdec/swfdec_codec_screen.c libswfdec/swfdec_color.c libswfdec/swfdec_color.h
...3); -} -#endif - -static void -push_uint16 (CompileState *state, unsigned int i) -{ - g_assert (i <= G_MAXUINT16); - SWFDEC_LOG ("pushing %u", i); - THREELINER_INT (state, JSOP_UINT16, i); -} - -static void -call (CompileState *state, guint n_arguments) -{ - THREELINER_INT (state, JSOP_CALL, n_arguments); -} - -static void -call_void_function (CompileState *state, const char *name) -{ - push_prop (state, name); - PUSH_OBJ (state); - call (state, 0); - POP (state); -} - -/* 13 bytes */ -#define DEBUG_TRACE(state) G_STMT_START { \ - ONELINER (state, JSOP_DUP); \ - compile_trace (s...