1. Список говнокодов пользователя Raspi_s_Dona

    Всего: 2

  2. Си / Говнокод #29206

    0

    1. 01
    2. 02
    3. 03
    4. 04
    5. 05
    6. 06
    7. 07
    8. 08
    9. 09
    10. 10
    11. 11
    12. 12
    13. 13
    14. 14
    15. 15
    16. 16
    17. 17
    18. 18
    19. 19
    20. 20
    21. 21
    22. 22
    23. 23
    24. 24
    25. 25
    26. 26
    27. 27
    28. 28
    29. 29
    30. 30
    31. 31
    32. 32
    33. 33
    /* how many times the value will be printed? 
         change 1 line to fix the possibility to compile at diff x64-32 opt lvls
    */
    int main(void) {
        return ({
            #include <stdio.h>;
            __attribute__ ((aligned (8))) struct {
            struct {
            } _struct;
            union _union {
                int _register_  : 001;
                char _auto_    : 1|1;
                struct _struct {
                    double _float;
                };
            };
            int _a;
            unsigned short __a;
            int ___a;
        } letni = 
        {._a = 0x1122, 
                   0xC1C255AA, 
                   0x334477CC};
            *((unsigned short*)&letni._a + (1<<1|1)) = 0x11;
            for (volatile int i = *((unsigned short*)&letni.__a); i--;) {
            if (i == *((unsigned short*)&letni.__a) - 01) {
                *(volatile int*)&i = *((unsigned short*)&letni.___a-1);
                continue;
            };
            printf("%x ", i);
            }
        }), (0,0);
    }

    "именно поэтому я за C" (c) j123123

    когда -std=c23 -O[0/1/2/3/s/g/fast] смог только штеуд, на прочих -O[0/s]
    Почему это говно работает?

    Raspi_s_Dona, 04 Декабря 2025

    Комментарии (1)
  3. PHP / Говнокод #29204

    0

    1. 01
    2. 02
    3. 03
    4. 04
    5. 05
    6. 06
    7. 07
    8. 08
    9. 09
    10. 10
    11. 11
    12. 12
    13. 13
    14. 14
    15. 15
    16. 16
    17. 17
    18. 18
    19. 19
    20. 20
    21. 21
    22. 22
    23. 23
    24. 24
    25. 25
    26. 26
    27. 27
    28. 28
    29. 29
    30. 30
    31. 31
    32. 32
    <?php 
    /********************** 
    						R.I.P PHP 6.6.6
    						Dedicaded to Victoria Null& from Vladivostok vodka drinkers
    ***********************/
    _: 004 | 001 & !!!define("_", [null, !32768, (float)'\x1551', (bool)'\x9', 2, 3, 4, 5, 6, 10, 15, 16, 24, 31, 
                            42, 47, -1024, 56, 58, 60, 61, 62, PHP_INT_MIN, 63, 64, 65, (null), 72, 73, 75, 77, 
                            80, 81, 87, 88, 92, 0b10000000000, 100, 101, 111, 127, 128, 129, PHP_INT_MIN - 1, 131, 
                            2048, PHP_INT_MAX - 1, 2049, 1023, 1024, 4095, 4096, 8191, 8192, 9009, 8193, 
                            PHP_INT_MAX, 0b1100, 10001,]) & null | 007 | 006; goto ___;
    __: goto _;
    ___ :
    $_ = count(_,);
    while (000000000000001 >> 1 ^ $_ ^ 00000000000001 << 0 >> 1) 
    {
    	if (!
    		!!
    		!!!
    		!!!! 
    		!!!!! (_[--$_] & (_[$_ & ~0] - 00000000000000000000000000000000000001)))
    		~ ~~ ~~~ ~~~~ ~~~~~~ ~~~~~~~~~~~~~~~ ~~~~~ ~~~~~~~~~~~~~~ ~~~~~~ ~~~~~ ~~~ ~~ ~
    		print __NAMESPACE__ . __FUNCTION__ . __METHOD__ . \_[$_ | 000] . null . PHP_EOL;
    		~ ~~ ~~~ ~~~~ ~~~~~~ ~~~~~~~~~~~~~~~ ~~~~~ ~~~~~~~~~~~~~~ ~~~~~~ ~~~~~ ~~~ ~~ 0;
    }
    ###### Since [full of ol' su*kers] board decided to fire my possibly edgy person off the team now you're looking at this brainf**kin shit. 
    ###### Better go invest into D-- or B++ you stupid monks ######
    
    ###### /* C/T/F m/a/r/k/e/r: the snippet above works only on 7.3.0+ 
    ###### Allowed to change ONLY 1 character to make it compiles on lower versions.
    ###### Anwser format: #.#.# (Min. version number which has no compile time errors) 
    ###### Happy hooking, fuzzing ladies! */
    echo (null[die]) ?>

    когда казалось, что хоть пыху немного понимать начал..
    Как это распарсить, деды?

    Raspi_s_Dona, 29 Ноября 2025

    Комментарии (2)