ELF(Ô‰484 (pPP�P� 44€4€44�4�€€tt€ttthp€€€€PP�P�DDQåtd/lib/ld-linux-armhf.so.3GNUGNU‡‡¯‘+ùú:-™iëÄk7¬s    ÊAˆõ„À @${œ|(ŒGu|í Ï ý¼î�Ê|‹s2ŽuìÞ“¸+kÌ? ¯–©ºÚ?~–|.N=ö_–“K  ˆ¯Ü½•¶�z©¢›€qlÊÃlibstdc++.so.6__gmon_start___Jv_RegisterClasseslibm.so.6libgcc_s.so.1__aeabi_unwind_cpp_pr0libc.so.6exit_IO_putcfopenstrncmpputsputcharabortprintfstrtolfseekstdoutfclosefreadstrcmp__libc_start_mainGCC_3.5GLIBC_2.4= U&y Übii äÐÜ”˜œ ¤ ¨ ¬ ° ´ ¸¼ÀÄÈÌ@-é뀽èà-åàŸåà�àð¾åÌ‹Æ�âÊŒâÌû¼åÆ�âÊŒâÄû¼åÆ�âÊŒâ¼û¼åÆ�âÊŒâ´û¼åÆ�âÊŒâ¬û¼åÆ�âÊŒâ¤û¼åÆ�âÊŒâœû¼åÆ�âÊŒâ”û¼åÆ�âÊŒâŒû¼åÆ�âÊŒâ„û¼åÆ�âÊŒâ|û¼åÆ�âÊŒâtû¼åÆ�âÊŒâlû¼åÆ�âÊŒâdû¼åÆ�âÊŒâ\û¼åPãp@-é` áÐMâ^ @‘å'Ú¨Ÿå áïÿÿëPã� ˜Ÿå áêÿÿëPã] ˆŸå áåÿÿëPãI xŸå áàÿÿëPãD hŸå áÛÿÿëP㎠XŸå áÖÿÿëPã„ HŸå áÑÿÿëPã2 8Ÿå áÌÿÿëPã-  áP ã Ÿå  ãP�å¾ÿÿëPâ á  á  ã¬ÿÿëPãÀ á�å  á�âäŸå 0 áÀ�å¥ÿÿë ãÐ�âp€½è0–åÄŸå áÀÓå  á 0 áÀ�åÀ�å™ÿÿëòÿÿê  ã“ÿÿë�âÀ á!å  á0 á„ŸåÀ�åŽÿÿëçÿÿê¤ë ãœÿÿë–å¥ë ã˜ÿÿë�ëXŸå†ÿÿëTŸå„ÿÿëPŸå‚ÿÿë  ãqÿÿë ã�ÿÿë’ë8Ÿå{ÿÿë4Ÿåyÿÿë0Ÿåwÿÿë,Ÿåuÿÿë(Ÿåsÿÿë$Ÿå$Ÿåmÿÿë Ÿå Ÿåjÿÿë  ã\ÿÿëŸåiÿÿëŸågÿÿë ŸåeÿÿëŸåcÿÿëŸåaÿÿëŸå_ÿÿëüŸå]ÿÿëøŸå[ÿÿëôŸåYÿÿëðŸåWÿÿëìŸåUÿÿë ãbÿÿëg뀟åPÿÿë|ŸåNÿÿëxŸåLÿÿ뀟åJÿÿ뼟åHÿÿ븟åFÿÿë´ŸåDÿÿëÀÿÿ꬟å`Ÿå=ÿÿë ãMÿÿëXŸå9ÿÿë ãIÿÿëЋàŒô����$�0�4�8�Ø‹ø‹ŒèŒ�(�TŒ@�Ó|�Lޏ�ô�4ŽTŽtޤŽÐŽ� �œ�Ä�Ø�`Œ”Œ¼Œ �° ãà ã�ä  á -å-åÀŸåÀ-å Ÿå 0Ÿåòþÿëîþÿë„‹t†$‹0Ÿå Ÿå0�à0“çSãÿ/êþÿêh‡H0Ÿå ÓåRã   Ãÿ/áà Ÿå@-é0�åS〽0ŸåS〽3ÿ/ွè|ŸåŸåäþÿꔋ¬‹0@-é ÐMâpŸåP áÔþÿë@Pâ `Ÿå  ãÒþÿëXPŸåêÝå•åßþÿë ã�â  á0 áÔþÿëPãõÿÿ á»þÿë Ð�â0€½èßÿÿëŸå áÄþÿë  ãÔþÿë´‹-ìÿÿܸ‹øE-é` áHPŸåH ŸåP�à  �à  eàp á€ á”þÿëJ¡°áø…½@ ã0•ä á á  á@„â3ÿ/á Tá÷ÿÿø…½è8…8…ÿ/á@-逽èchar-1f (one-file) v%s 1.0.1rberror: cant open '%s' --helpCopyright 2016 MiNTed Games Output character code info. usage: char-1f [_option_||||]_option_: --1f one-file (1f) source information --help This help information -v|--version Version information--1fCopyright 2016 MiNTed Gamesone-file (1f) source information. usage: char-1f _option_ --src|--source output attached one-file (1f) source file --src-size size of appended source (in bytes) (%d) --src-type type of source appended (TXT/ZIP) (%s) To save one-file (1f) source to file use one of the following: char-1f --src > char-1f.cpp char-1f --src > char-1f.zip char-1f --src > char-1f`char-1f --src-type`To verify one-file (1f) source file size: char-1f --src-size (match this to the size in a directory listing)or use:NAME=prog; if [ `ls -l $NAME-1f.cpp|cut -d \ -f 5` = `./$NAME-1f --src-size` ]; then echo Verified; else echo Failed; fione-file (1f) options exit with status: 31 no error (0x1f) 32 an error occured (0x20)--source--src--src-type--src-size%d--version-v0x'%s': %d 0x%2x %04u $öÿ°ª€|ùÿ4úÿ°©€¼úÿPŠ4Š3=b  … ˆ‹tx”�õþÿo,‚㔂 î ˆx(……þÿÿoØ„ÿÿÿoðÿÿo²„€¬…¬…¬…¬…¬…¬…¬…¬…¬…¬…¬…¬…¬…¬…¬…GCC: (Debian 4.6.3-14+rpi1) 4.6.3A.aeabi$6  ,.symtab.strtab.shstrtab.interp.note.ABI-tag.note.gnu.build-id.gnu.hash.dynsym.dynstr.gnu.version.gnu.version_r.rel.dyn.rel.plt.init.text.fini.rodata.ARM.exidx.eh_frame.init_array.fini_array.jcr.dynamic.got.data.bss.comment.ARM.attributes4�4#P�P 1p�p$H”�”˜Döÿÿo,‚,hN ”‚”0VăÄî^ÿÿÿo²„²&kþÿÿoØ„Ø@z …ƒ B(…(x Œ …  ‡¬…¬È’t†t˜ˆ‹ˆ ž�‹� À¦p‚P�P ±p�p»ttÇxxÓ||Ø€€áˆˆLæÔÔìÜÜñ0Ü"úpþ/- °V À4�P�p�”�,‚”‚ă²„Ø„ … (…  … ¬… t†ˆ‹�‹P�p�tx|€ˆÔÜñÿJP�MÔ‰JX�JŠJ�‹JÔPñÿMŠ™ŠJ,ŠM … Mˆ‹©ñÿM¨… MŒ‹òñÿM€ŠJŒŠJ`�M”ŠJ‹Mt†J@‰JP�J”‹þñÿ |JØM4Š4ŠJLŠ,àJx;xMPŠbPŠJxŠJtntJà�ñÿM$‹J|‹M„‹þñÿJp�™p�J|§|ñÿ³ˆÉxÚtí€M¬… J¼… MÀ… öÔ „‹"Ô‰)Ff u ‰›ˆ‹¡´Å�‹ÔÔáòÜØ ä'$‹`7äCU€ŠeÜqä|”Š�‹›ä Ü²ÃÜÊÝñt†` … /usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/crt1.o$d$a/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/crti.ocall_gmon_start/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/crtn.ochar-1f.cppcrtstuff.c__JCR_LIST____do_global_dtors_auxcompleted.5637__do_global_dtors_aux_fini_array_entryframe_dummy__frame_dummy_init_array_entryelf-init.oS__FRAME_END____JCR_END___GLOBAL_OFFSET_TABLE___init_array_end__init_array_start_DYNAMICdata_startabort@@GLIBC_2.4__libc_csu_fini_start__libc_start_main@@GLIBC_2.4__aeabi_unwind_cpp_pr0@@GCC_3.5__gmon_start___Jv_RegisterClassesfclose@@GLIBC_2.4_finiputchar@@GLIBC_2.4fopen@@GLIBC_2.4_IO_stdin_used__data_startfseek@@GLIBC_2.4__bss_start____dso_handlestrtol@@GLIBC_2.4__end____libc_csu_init__bss_end__printf@@GLIBC_2.4_Z10version_1fv__bss_start_bss_end___Z9output_1fPcputs@@GLIBC_2.4_endstdout@@GLIBC_2.4fread@@GLIBC_2.4_edatastrncmp@@GLIBC_2.4_IO_putc@@GLIBC_2.4strcmp@@GLIBC_2.4exit@@GLIBC_2.4main_init/* char-1f one-file character code output Copyright (C) 2016 MiNTed Games All Rights Reserved This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ /* one file compile g++ -Wall -O3 -DVERSION=\"1.0.1\" -o char-1f char-1f.cpp ; \ g++ -Wall -O3 -DVERSION=\"1.0.1\" -DPRG_SIZE=`ls -l char-1f|cut -d \ -f 5` -DSRC_SIZE=`ls -l char-1f.cpp|cut -d \ -f 5` -o char-1f char-1f.cpp ; \ cat char-1f.cpp >> char-1f */ #include #include #include /* one-file source appendage */ //#define SRC_TYPE ".zip" // if its a ZIP appendage #define SRC_TYPE ".cpp" // if its a TEXT appendage #ifndef PRG_SIZE //#define PRG_SIZE 7783 // last checked binary size was ... #define PRG_SIZE 12345 // .. this should be close to actual #endif #ifndef SRC_SIZE // size of 1 text file or 1 zip file //#define SRC_SIZE 5077 // last checked source size was ... #define SRC_SIZE 12345 // .. affects binary size if too small #endif const long offset_1f = PRG_SIZE; // this has never been accurate (EXT4) const long sizeOf_1f = SRC_SIZE; // we use this (-sizeOf_1f) as offset void version_1f() { printf("char-1f (one-file) v%s\n", VERSION); } void output_1f(char *file_1f) { FILE *source_1f; char out_1f[1]; if (offset_1f == 12345 || sizeOf_1f == 12345) { version_1f(); printf("error: no source file or zip\n"); exit(32); }else{ source_1f = fopen(file_1f, "rb"); if (source_1f == NULL) { version_1f(); printf("error: cant open '%s'\n", file_1f); exit(32); } // fseek(source_1f, offset_1f + 223, SEEK_SET); // off by ? (500+) fseek(source_1f, -sizeOf_1f, SEEK_END); // fucked sizeOf_1f? while(true) { if (!fread(out_1f, 1, 1, source_1f)) { fclose(source_1f); break; }else putchar((int) out_1f[0]); } } } int main(int argc, char *argv[]) { int d; long int x; if ( (argc == 1) || ( (argc > 1) && (strcmp("--help", argv[1]) == 0) ) ) { version_1f(); printf("Copyright 2016 MiNTed Games\n\n"); printf("Output character code info.\n\n"); printf("usage: char-1f [_option_||||]\n"); if (argc > 1) { printf("_option_:\n"); printf("\t--1f one-file (1f) source information\n"); printf("\t--help This help information\n"); printf("\t-v|--version Version information\n"); } printf("\n"); exit(0); } if ( (argc > 1 ) && (strcmp("--1f", argv[1]) == 0) ) { version_1f(); printf("Copyright 2016 MiNTed Games\n"); printf("one-file (1f) source information.\n\n"); if (offset_1f == 12345 || sizeOf_1f == 12345) { printf("no source file or zip\n"); exit(32); }else{ printf("usage: char-1f _option_\n"); printf("_option_:\n"); printf("\t--src|--source output attached one-file (1f) source file\n"); printf("\t--src-size size of appended source (in bytes) (%d)\n", sizeOf_1f); printf("\t--src-type type of source appended (TXT/ZIP) (%s)\n", SRC_TYPE); printf("\n"); printf("To save one-file (1f) source to file use one of the following:\n"); printf("\tchar-1f --src > char-1f.cpp\n"); printf("\tchar-1f --src > char-1f.zip\n"); printf("\tchar-1f --src > char-1f`char-1f --src-type`\n"); printf("To verify one-file (1f) source file size:\n"); printf("\tchar-1f --src-size (match this to the size in a directory listing)\n"); printf("or use:\n"); printf("NAME=prog; if [ `ls -l $NAME-1f.cpp|cut -d \\ -f 5` = `./$NAME-1f --src-size` ]; then echo Verified; else echo Failed; fi\n"); printf("one-file (1f) options exit with status:\n"); printf("\t31 no error (0x1f)\n"); printf("\t32 an error occured (0x20)\n"); exit(31); } } if ( (argc > 1) && ( (strcmp("--source", argv[1]) == 0) || (strcmp("--src", argv[1]) == 0) ) ) { output_1f(argv[0]); exit(31); } if ( (argc > 1 ) && (strcmp("--src-type", argv[1]) == 0) ) { printf(SRC_TYPE); exit(31); } if ( (argc > 1 ) && (strcmp("--src-size", argv[1]) == 0) ) { printf("%d", SRC_SIZE); exit(31); } if ( (argc > 1) && ( (strcmp("--version", argv[1]) == 0) || (strcmp("-v", argv[1]) == 0) ) ) { version_1f(); exit(0); } d = 0; if (strncmp("0x",argv[1],2) == 0) { x = strtol(argv[1],NULL,16); printf("'%s': %d 0x%2x %04u \n", &x, x, x, x); }else{ d = atoi(argv[1]); if (d == 0) { d = argv[1][0]; printf("'%s': %d 0x%2x %04u \n", argv[1], d, d, d); }else{ printf("'%s': %d 0x%2x %04u \n", &d, d, d, d); } } return(0); }