ClamAV is an open source (GPLv2) anti-virus toolkit.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
clamav/libclamav/js/c2jumps.h

447 lines
5.2 KiB

/* operand halt (0) */
case 0:
cpos++;
break;
/* operand done (1) */
case 1:
cpos++;
break;
/* operand nop (2) */
case 2:
cpos++;
break;
/* operand dup (3) */
case 3:
cpos++;
break;
/* operand pop (4) */
case 4:
cpos++;
break;
/* operand pop_n (5) */
case 5:
cpos++;
cp += 1;
cpos++;
break;
/* operand apop (6) */
case 6:
cpos++;
cp += 1;
cpos++;
break;
/* operand swap (7) */
case 7:
cpos++;
break;
/* operand roll (8) */
case 8:
cpos++;
cp += 1;
cpos++;
break;
/* operand const (9) */
case 9:
cpos++;
cp += 4;
cpos++;
break;
/* operand const_null (10) */
case 10:
cpos++;
break;
/* operand const_true (11) */
case 11:
cpos++;
break;
/* operand const_false (12) */
case 12:
cpos++;
break;
/* operand const_undefined (13) */
case 13:
cpos++;
break;
/* operand const_i0 (14) */
case 14:
cpos++;
break;
/* operand const_i1 (15) */
case 15:
cpos++;
break;
/* operand const_i2 (16) */
case 16:
cpos++;
break;
/* operand const_i3 (17) */
case 17:
cpos++;
break;
/* operand const_i (18) */
case 18:
cpos++;
cp += 4;
cpos++;
break;
/* operand load_global (19) */
case 19:
cpos++;
cp += 4;
cpos++;
break;
/* operand store_global (20) */
case 20:
cpos++;
cp += 4;
cpos++;
break;
/* operand load_arg (21) */
case 21:
cpos++;
cp += 1;
cpos++;
break;
/* operand store_arg (22) */
case 22:
cpos++;
cp += 1;
cpos++;
break;
/* operand load_local (23) */
case 23:
cpos++;
cp += 2;
cpos++;
break;
/* operand store_local (24) */
case 24:
cpos++;
cp += 2;
cpos++;
break;
/* operand load_property (25) */
case 25:
cpos++;
cp += 4;
cpos++;
break;
/* operand store_property (26) */
case 26:
cpos++;
cp += 4;
cpos++;
break;
/* operand load_array (27) */
case 27:
cpos++;
break;
/* operand store_array (28) */
case 28:
cpos++;
break;
/* operand nth (29) */
case 29:
cpos++;
break;
/* operand cmp_eq (30) */
case 30:
cpos++;
break;
/* operand cmp_ne (31) */
case 31:
cpos++;
break;
/* operand cmp_lt (32) */
case 32:
cpos++;
break;
/* operand cmp_gt (33) */
case 33:
cpos++;
break;
/* operand cmp_le (34) */
case 34:
cpos++;
break;
/* operand cmp_ge (35) */
case 35:
cpos++;
break;
/* operand cmp_seq (36) */
case 36:
cpos++;
break;
/* operand cmp_sne (37) */
case 37:
cpos++;
break;
/* operand sub (38) */
case 38:
cpos++;
break;
/* operand add (39) */
case 39:
cpos++;
break;
/* operand mul (40) */
case 40:
cpos++;
break;
/* operand div (41) */
case 41:
cpos++;
break;
/* operand mod (42) */
case 42:
cpos++;
break;
/* operand neg (43) */
case 43:
cpos++;
break;
/* operand and (44) */
case 44:
cpos++;
break;
/* operand not (45) */
case 45:
cpos++;
break;
/* operand or (46) */
case 46:
cpos++;
break;
/* operand xor (47) */
case 47:
cpos++;
break;
/* operand shift_left (48) */
case 48:
cpos++;
break;
/* operand shift_right (49) */
case 49:
cpos++;
break;
/* operand shift_rright (50) */
case 50:
cpos++;
break;
/* operand iffalse (51) */
case 51:
cpos++;
i = ARG_INT32 ();
i = reloc[cp - code_start + 4 + i] - &f->code[cpos + 1];
ARG_INT32 () = i;
cp += 4;
cpos++;
break;
/* operand iftrue (52) */
case 52:
cpos++;
i = ARG_INT32 ();
i = reloc[cp - code_start + 4 + i] - &f->code[cpos + 1];
ARG_INT32 () = i;
cp += 4;
cpos++;
break;
/* operand call_method (53) */
case 53:
cpos++;
cp += 4;
cpos++;
break;
/* operand jmp (54) */
case 54:
cpos++;
i = ARG_INT32 ();
i = reloc[cp - code_start + 4 + i] - &f->code[cpos + 1];
ARG_INT32 () = i;
cp += 4;
cpos++;
break;
/* operand jsr (55) */
case 55:
cpos++;
break;
/* operand return (56) */
case 56:
cpos++;
break;
/* operand typeof (57) */
case 57:
cpos++;
break;
/* operand new (58) */
case 58:
cpos++;
break;
/* operand delete_property (59) */
case 59:
cpos++;
cp += 4;
cpos++;
break;
/* operand delete_array (60) */
case 60:
cpos++;
break;
/* operand locals (61) */
case 61:
cpos++;
cp += 2;
cpos++;
break;
/* operand min_args (62) */
case 62:
cpos++;
cp += 1;
cpos++;
break;
/* operand load_nth_arg (63) */
case 63:
cpos++;
break;
/* operand with_push (64) */
case 64:
cpos++;
break;
/* operand with_pop (65) */
case 65:
cpos++;
cp += 1;
cpos++;
break;
/* operand try_push (66) */
case 66:
cpos++;
i = ARG_INT32 ();
i = reloc[cp - code_start + 4 + i] - &f->code[cpos + 1];
ARG_INT32 () = i;
cp += 4;
cpos++;
break;
/* operand try_pop (67) */
case 67:
cpos++;
cp += 1;
cpos++;
break;
/* operand throw (68) */
case 68:
cpos++;
break;
/* operand iffalse_b (69) */
case 69:
cpos++;
i = ARG_INT32 ();
i = reloc[cp - code_start + 4 + i] - &f->code[cpos + 1];
ARG_INT32 () = i;
cp += 4;
cpos++;
break;
/* operand iftrue_b (70) */
case 70:
cpos++;
i = ARG_INT32 ();
i = reloc[cp - code_start + 4 + i] - &f->code[cpos + 1];
ARG_INT32 () = i;
cp += 4;
cpos++;
break;
/* operand add_1_i (71) */
case 71:
cpos++;
break;
/* operand add_2_i (72) */
case 72:
cpos++;
break;
/* operand load_global_w (73) */
case 73:
cpos++;
cp += 4;
cpos++;
break;
/* operand jsr_w (74) */
case 74:
cpos++;
cp += 4;
cpos++;
break;