Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/PWT57 function name: (null) number of ops: 2 compiled vars: none line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 5 0 E > DECLARE_CLASS 'pluginportswitchportswitch', 'commondbtm' 83 1 > RETURN 1 Class PluginPortswitchPortswitch: Function loadconfig: Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/PWT57 function name: loadConfig number of ops: 9 compiled vars: none line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 11 0 E > INIT_FCALL 'parse_ini_file' 1 FETCH_CONSTANT ~1 'GLPI_ROOT' 2 CONCAT ~2 ~1, '%2Ffiles%2F_plugins%2Fportswitch%2Fconfig.ini' 3 SEND_VAL ~2 4 SEND_VAL <true> 5 DO_ICALL $3 6 ASSIGN_STATIC_PROP 'config_data' 7 OP_DATA $3 12 8 > RETURN null End of function loadconfig Function drawinfobox: Finding entry points Branch analysis from position: 0 2 jumps found. (Code = 43) Position 1 = 8, Position 2 = 74 Branch analysis from position: 8 1 jumps found. (Code = 42) Position 1 = 68 Branch analysis from position: 68 2 jumps found. (Code = 44) Position 1 = 72, Position 2 = 15 Branch analysis from position: 72 1 jumps found. (Code = 62) Position 1 = -2 Branch analysis from position: 15 2 jumps found. (Code = 43) Position 1 = 21, Position 2 = 55 Branch analysis from position: 21 1 jumps found. (Code = 42) Position 1 = 50 Branch analysis from position: 50 2 jumps found. (Code = 44) Position 1 = 53, Position 2 = 42 Branch analysis from position: 53 1 jumps found. (Code = 42) Position 1 = 66 Branch analysis from position: 66 2 jumps found. (Code = 44) Position 1 = 72, Position 2 = 15 Branch analysis from position: 72 Branch analysis from position: 15 Branch analysis from position: 42 2 jumps found. (Code = 44) Position 1 = 53, Position 2 = 42 Branch analysis from position: 53 Branch analysis from position: 42 Branch analysis from position: 55 2 jumps found. (Code = 44) Position 1 = 72, Position 2 = 15 Branch analysis from position: 72 Branch analysis from position: 15 Branch analysis from position: 74 filename: /in/PWT57 function name: drawInfoBox number of ops: 75 compiled vars: !0 = $i, !1 = $kommentar_array, !2 = $j line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 16 0 E > FETCH_CONSTANT ~3 'GLPI_ROOT' 1 CONCAT ~4 ~3, '%2Finc%2Fincludes.php' 2 INCLUDE_OR_EVAL ~4, INCLUDE_ONCE 18 3 INIT_STATIC_METHOD_CALL 'Session', 'haveRight' 4 SEND_VAL_EX 'user' 5 SEND_VAL_EX 'w' 6 DO_FCALL 0 $6 7 > JMPZ $6, ->74 20 8 > ECHO '%3Ctr%3E%3Ctd+class%3D%27top%27+width%3D%27450px%27%3E' 21 9 ECHO '%3Cbr%3E%3Ctable+class%3D%27tab_cadrehov%27%3E%3Ctr%3E%3Cth+colspan%3D%224%22%3E%3Ca+href%3D%22%2Fglpi%2Fplugins%2Fportswitch%2F%22%3EPortswitch%3C%2Fa%3E%3C%2Fth%3E%3C%2Ftr%3E' 22 10 ECHO '%3Ctr%3E%3Cth%3EBezeichnung%3C%2Fth%3E%3Cth%3EStatus%3C%2Fth%3E%3C%2Ftr%3E' 23 11 INIT_STATIC_METHOD_CALL 'loadConfig' 12 DO_FCALL 0 25 13 ASSIGN !0, 0 14 > JMP ->68 27 15 > ECHO '%3Ctr%3E%3Ccenter%3E' 28 16 FETCH_STATIC_PROP_R unknown ~9 'config_data' 17 FETCH_DIM_R ~10 ~9, !0 18 FETCH_DIM_R ~11 ~10, 'status' 19 IS_EQUAL ~11, 'Aktiviert' 20 > JMPZ ~12, ->55 30 21 > FETCH_STATIC_PROP_R unknown ~13 'config_data' 22 FETCH_DIM_R ~14 ~13, !0 23 FETCH_DIM_R ~15 ~14, 'name' 24 CONCAT ~16 '%3Ctd%3E', ~15 25 CONCAT ~17 ~16, '%3C%2Ftd%3E%3Ctd%3E' 26 INIT_STATIC_METHOD_CALL 'getHtmlStatus' 27 SEND_VAR_EX !0 28 DO_FCALL 0 $18 29 CONCAT ~19 ~17, $18 30 CONCAT ~20 ~19, '+%28+' 31 ECHO ~20 31 32 INIT_FCALL 'explode' 33 SEND_VAL '%2C' 34 FETCH_STATIC_PROP_R unknown ~21 'config_data' 35 FETCH_DIM_R ~22 ~21, !0 36 FETCH_DIM_R ~23 ~22, 'kommentar' 37 SEND_VAL ~23 38 DO_ICALL $24 39 ASSIGN !1, $24 32 40 ASSIGN !2, 0 41 > JMP ->50 33 42 > FETCH_DIM_R ~27 !1, !2 43 CONCAT ~28 '%3Ca+href%3D%22%2Fglpi%2Ffront%2Fticket.form.php%3Fid%3D', ~27 44 CONCAT ~29 ~28, '%22%3E+%23' 45 FETCH_DIM_R ~30 !1, !2 46 CONCAT ~31 ~29, ~30 47 CONCAT ~32 ~31, '%3C%2Fa%3E' 48 ECHO ~32 32 49 PRE_INC !2 50 > COUNT ~34 !1 51 IS_SMALLER !2, ~34 52 > JMPNZ ~35, ->42 34 53 > ECHO '+%29+%3C%2Ftd%3E' 54 > JMP ->66 38 55 > FETCH_STATIC_PROP_R unknown ~36 'config_data' 56 FETCH_DIM_R ~37 ~36, !0 57 FETCH_DIM_R ~38 ~37, 'name' 58 CONCAT ~39 '%3Ctd%3E', ~38 59 CONCAT ~40 ~39, '%3C%2Ftd%3E%3Ctd%3E' 60 INIT_STATIC_METHOD_CALL 'getHtmlStatus' 61 SEND_VAR_EX !0 62 DO_FCALL 0 $41 63 CONCAT ~42 ~40, $41 64 CONCAT ~43 ~42, '%3C%2Ftd%3E' 65 ECHO ~43 40 66 > ECHO '%3C%2Ftr%3E%3C%2Fcenter%3E' 25 67 PRE_INC !0 68 > FETCH_STATIC_PROP_R unknown ~45 'config_data' 69 COUNT ~46 ~45 70 IS_SMALLER !0, ~46 71 > JMPNZ ~47, ->15 42 72 > ECHO '%3C%2Ftable%3E' 43 73 ECHO '%3C%2Ftd%3E%3C%2Ftr%3E' 45 74 > > RETURN null End of function drawinfobox Function gethtmlstatus: Finding entry points Branch analysis from position: 0 2 jumps found. (Code = 43) Position 1 = 6, Position 2 = 8 Branch analysis from position: 6 1 jumps found. (Code = 62) Position 1 = -2 Branch analysis from position: 8 2 jumps found. (Code = 43) Position 1 = 13, Position 2 = 15 Branch analysis from position: 13 1 jumps found. (Code = 62) Position 1 = -2 Branch analysis from position: 15 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/PWT57 function name: getHtmlStatus number of ops: 17 compiled vars: !0 = $id line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 47 0 E > RECV !0 49 1 FETCH_STATIC_PROP_R unknown ~1 'config_data' 2 FETCH_DIM_R ~2 ~1, !0 3 FETCH_DIM_R ~3 ~2, 'status' 4 IS_EQUAL ~3, 'Aktiviert' 5 > JMPZ ~4, ->8 50 6 > > RETURN '%3Cfont+color%3D%22%2300FF00%22%3EAktiv%3C%2Ffont%3E' 7* JMP ->16 51 8 > FETCH_STATIC_PROP_R unknown ~5 'config_data' 9 FETCH_DIM_R ~6 ~5, !0 10 FETCH_DIM_R ~7 ~6, 'status' 11 IS_EQUAL ~7, 'Deaktiviert' 12 > JMPZ ~8, ->15 52 13 > > RETURN '%3Cfont+color%3D%22%23FF0000%22%3EInaktiv%3C%2Ffont%3E' 14* JMP ->16 54 15 > > RETURN '%3Cfont+color%3D%22%230000FF%22%3EUnbekannt%3C%2Ffont%3E' 55 16* > RETURN null End of function gethtmlstatus Function saveconfig: Finding entry points Branch analysis from position: 0 2 jumps found. (Code = 43) Position 1 = 9, Position 2 = 13 Branch analysis from position: 9 1 jumps found. (Code = 79) Position 1 = -2 Branch analysis from position: 13 1 jumps found. (Code = 42) Position 1 = 104 Branch analysis from position: 104 2 jumps found. (Code = 44) Position 1 = 108, Position 2 = 15 Branch analysis from position: 108 1 jumps found. (Code = 62) Position 1 = -2 Branch analysis from position: 15 2 jumps found. (Code = 44) Position 1 = 108, Position 2 = 15 Branch analysis from position: 108 Branch analysis from position: 15 filename: /in/PWT57 function name: saveConfig number of ops: 112 compiled vars: !0 = $config_file, !1 = $i line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 59 0 E > INIT_FCALL 'fopen' 1 FETCH_CONSTANT ~2 'GLPI_ROOT' 2 CONCAT ~3 ~2, '%2Ffiles%2F_plugins%2Fportswitch%2Fconfig.ini' 3 SEND_VAL ~3 4 SEND_VAL 'w' 5 DO_ICALL $4 6 ASSIGN !0, $4 60 7 BOOL_NOT ~6 !0 8 > JMPZ ~6, ->13 61 9 > FETCH_CONSTANT ~7 'GLPI_ROOT' 10 CONCAT ~8 'Konnte+', ~7 11 CONCAT ~9 ~8, '%2Ffiles%2F_plugins%2Fportswitch%2Fconfig.ini+nicht+schreiben.' 12 > EXIT ~9 63 13 > ASSIGN !1, 0 14 > JMP ->104 65 15 > INIT_FCALL 'fwrite' 16 SEND_VAR !0 17 ROPE_INIT 3 ~12 '%5B' 18 ROPE_ADD 1 ~12 ~12, !1 19 ROPE_END 2 ~11 ~12, '%5D%0A' 20 SEND_VAL ~11 21 DO_ICALL 66 22 INIT_FCALL 'fwrite' 23 SEND_VAR !0 24 FETCH_STATIC_PROP_R unknown ~15 'config_data' 25 FETCH_DIM_R ~16 ~15, !1 26 FETCH_DIM_R ~17 ~16, 'name' 27 CONCAT ~18 'name+%3D+%22', ~17 28 CONCAT ~19 ~18, '%22%0A' 29 SEND_VAL ~19 30 DO_ICALL 67 31 INIT_FCALL 'fwrite' 32 SEND_VAR !0 33 FETCH_STATIC_PROP_R unknown ~21 'config_data' 34 FETCH_DIM_R ~22 ~21, !1 35 FETCH_DIM_R ~23 ~22, 'ip' 36 CONCAT ~24 'ip+%3D+%22', ~23 37 CONCAT ~25 ~24, '%22%0A' 38 SEND_VAL ~25 39 DO_ICALL 68 40 INIT_FCALL 'fwrite' 41 SEND_VAR !0 42 FETCH_STATIC_PROP_R unknown ~27 'config_data' 43 FETCH_DIM_R ~28 ~27, !1 44 FETCH_DIM_R ~29 ~28, 'port' 45 CONCAT ~30 'port+%3D+%22', ~29 46 CONCAT ~31 ~30, '%22%0A' 47 SEND_VAL ~31 48 DO_ICALL 69 49 INIT_FCALL 'fwrite' 50 SEND_VAR !0 51 FETCH_STATIC_PROP_R unknown ~33 'config_data' 52 FETCH_DIM_R ~34 ~33, !1 53 FETCH_DIM_R ~35 ~34, 'kommentar' 54 CONCAT ~36 'kommentar+%3D+%22', ~35 55 CONCAT ~37 ~36, '%22%0A' 56 SEND_VAL ~37 57 DO_ICALL 70 58 INIT_FCALL 'fwrite' 59 SEND_VAR !0 60 FETCH_STATIC_PROP_R unknown ~39 'config_data' 61 FETCH_DIM_R ~40 ~39, !1 62 FETCH_DIM_R ~41 ~40, 'status' 63 CONCAT ~42 'status+%3D+%22', ~41 64 CONCAT ~43 ~42, '%22%0A' 65 SEND_VAL ~43 66 DO_ICALL 71 67 INIT_FCALL 'fwrite' 68 SEND_VAR !0 69 FETCH_STATIC_PROP_R unknown ~45 'config_data' 70 FETCH_DIM_R ~46 ~45, !1 71 FETCH_DIM_R ~47 ~46, 'passwort' 72 CONCAT ~48 'passwort+%3D+%22', ~47 73 CONCAT ~49 ~48, '%22%0A' 74 SEND_VAL ~49 75 DO_ICALL 72 76 INIT_FCALL 'fwrite' 77 SEND_VAR !0 78 FETCH_STATIC_PROP_R unknown ~51 'config_data' 79 FETCH_DIM_R ~52 ~51, !1 80 FETCH_DIM_R ~53 ~52, 'stack' 81 CONCAT ~54 'stack+%3D+%22', ~53 82 CONCAT ~55 ~54, '%22%0A' 83 SEND_VAL ~55 84 DO_ICALL 73 85 INIT_FCALL 'fwrite' 86 SEND_VAR !0 87 FETCH_STATIC_PROP_R unknown ~57 'config_data' 88 FETCH_DIM_R ~58 ~57, !1 89 FETCH_DIM_R ~59 ~58, 'hostname' 90 CONCAT ~60 'hostname+%3D+%22', ~59 91 CONCAT ~61 ~60, '%22%0A' 92 SEND_VAL ~61 93 DO_ICALL 74 94 INIT_FCALL 'fwrite' 95 SEND_VAR !0 96 FETCH_STATIC_PROP_R unknown ~63 'config_data' 97 FETCH_DIM_R ~64 ~63, !1 98 FETCH_DIM_R ~65 ~64, 'link' 99 CONCAT ~66 'link+%3D+%22', ~65 100 CONCAT ~67 ~66, '%22%0A%0A' 101 SEND_VAL ~67 102 DO_ICALL 63 103 PRE_INC !1 104 > FETCH_STATIC_PROP_R unknown ~70 'config_data' 105 COUNT ~71 ~70 106 IS_SMALLER !1, ~71 107 > JMPNZ ~72, ->15 77 108 > INIT_FCALL 'fclose' 109 SEND_VAR !0 110 DO_ICALL 78 111 > RETURN null End of function saveconfig End of class PluginPortswitchPortswitch.
Generated using Vulcan Logic Dumper, using php 8.0.0