From 1ce775d140b42e8c98f5c600819e23c89769aa23 Mon Sep 17 00:00:00 2001 From: gbrochar Date: Fri, 25 Oct 2024 18:18:34 +0200 Subject: [PATCH] correc files --- easy_test.c | 3 +++ error_header | Bin 0 -> 8784 bytes header | Bin 0 -> 64 bytes header_and_prog | Bin 0 -> 120 bytes header_and_prog_copy | Bin 0 -> 120 bytes header_copy | Bin 0 -> 64 bytes header_offset_error | Bin 0 -> 8784 bytes not_so_easy_test.c | 9 +++++++++ unterminated_string | Bin 0 -> 6795 bytes wrong_arch | Bin 0 -> 8784 bytes 10 files changed, 12 insertions(+) create mode 100644 easy_test.c create mode 100644 error_header create mode 100644 header create mode 100644 header_and_prog create mode 100644 header_and_prog_copy create mode 100644 header_copy create mode 100644 header_offset_error create mode 100644 not_so_easy_test.c create mode 100644 unterminated_string create mode 100644 wrong_arch diff --git a/easy_test.c b/easy_test.c new file mode 100644 index 0000000..f33541a --- /dev/null +++ b/easy_test.c @@ -0,0 +1,3 @@ +#include + +int main(void) { puts("Test facile"); return (0); } \ No newline at end of file diff --git a/error_header b/error_header new file mode 100644 index 0000000000000000000000000000000000000000..0f152f85b2fe081ee410ef12ca64c7d391e3d7b4 GIT binary patch literal 8784 zcmeHMYiwLc6`u9RiSzJ!lQeCT7INDr;I??P&ck)6((d|^TvyJciBk$~a&zrn$4l3{ z*6!V6S5#QIjk=_1jZ~rj0I4dfc!(dNAdw%HNEDQ)NQhKWDTsnhMZqa8brpyLI9|Rp z_nh6k*XvS#A*7CV_nZ07W6sQ-nL9K7N_X$BxB8pA^=rhhAVja>^iusjG{gr~jECH!~`>j_GPgd7@cRKsVMxn)763{8+7 z#d@hx7lDS(2tLGd9Ay+cDw5p{+s&|@;1mZYDD9)R(bLEN{MZE_<*pp=s36UJhhUCsq+#V9JLg!#b}FN+p1wU+BAH7bOXZzpu5V9gI-5!M+5KtKJ~o`qu(qYF z`yaCouwG}{&gYYP*Sx0j?%tk`PHRhKOJuu_v`+C$2L|+?QZil&>r+b=_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)O|91e{38HFXE3Ya#hB4nPgn*u$v-#E^B!Js5ib5%jT& zV2TW5*w>ht|0PA=VN7Lwi`^vqOF=oGuvqI#p73@&wDgF*>_Y_&$h=9`OW|6P@!HFN zRZzY^qVKowg5WC72vWc7YXv2K*=G2+X?tN$XC|>f%^ATnkWr##o%%`a<$UuXI69k% zz3h_(Ux3V;$cH!4|3~NyB=)kOE+Z>T{GuoLDCBgelCr@aR7SS<$IrB)eG-|7eT?k| zFR`N3?{EK;Y~R6pvX3vL$DaDkZ~rVf>J$EKmiPNnu29aO>_*2bdBP$dul;_u6EsN4 zljQ$0g3m+dwI5-7L5Wvf_{-n&*~@oZ@FnS3b|CeNzi<2O0*O#&& z{llQiV=w2bDQ>vvK}9Di3;qEtg(&sQ`D^+=*t_18`V%rVcEw)KY4ZQ?DQ>@vZ>d+t z0j&?-`sF-#ks5^*b)oz#_JZ$2;+0d`g-67^G2!gn1nQ=2>-{RxN-itE!y{bpK{xjV1pMY>P9*Kw6B1$yBBz8^k bkHHJifX}(qE4nKeu%FJfjWMqH=W(GS35U+t1BH{p*(2#;MfRqD+1p_CLlxL7*004_;1EK%` literal 0 HcmV?d00001 diff --git a/header_and_prog b/header_and_prog new file mode 100644 index 0000000000000000000000000000000000000000..b1e0c2c24d1b7b29702bd9ec8408b1c33b7c7718 GIT binary patch literal 120 zcmb<-^>JfjWMqH=W(GS35U+t1BH{p*(2#;MfRqD+1p_CLlxL7*U<2|&N*#b01RTI5 Ng8l(D8b)(KJfjWMqH=W(GS35U+t1BH{p*(2#;MfRqD+1p_CLlxL7*U<2|&N*#b01RTI5 Ng8l(D8b)(KJfjWMqH=W(GS35U+t1BH{p*(2#;MfRqD+1p_CLlxL7*004_;1EK%` literal 0 HcmV?d00001 diff --git a/header_offset_error b/header_offset_error new file mode 100644 index 0000000000000000000000000000000000000000..859a543bdfc1fa4b786b94f630654247d93faecd GIT binary patch literal 8784 zcmeHMYiwLc6`u9RiSzJ!lQwN0h1|9YxGmnSlg4$Z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1SjqUSfcnpH>uRWS;_pbiE8<`_3e>taC7kDu1V8WmFKeD8%k6F=?aBh35P;STM8E>2l54r+dW ze?Gx}WL-y5r<3>%sQK^ZMexa|J0fJLr4 zC*Y0w?$ssmD{Iy&S;s}?SH#1UtPirBy$PQB^PI2W-VvVLm1IZ10fyB&)#{sf=U89v zljW>71D^E#^Rx~xj_TdT{*SW%dhiD4y>L5tYM0+n(*pXt!QbI^!1-%B&MND3U(U%p zh5r6XA1>J*Y(HRicOC4pEH!r#XE}pbA6>=aj?GGBtz+qIubs9MPBxdf?830>%MK2u zlTI=bY1w|?mg-7$@t3mfT+SY`k{KsAqWW|8VA4ty1_wuA;wf3sbShK_k~YGzvYGUV z4s+Lm_?}Lyb8iRYbc2?Bg=s=r9iQJD-_z9&EssRsIfBC7tkr2+t~ayefUa9=&{)iSA6a&` zP3oDu5v|lj-@~7K1q$8D`%o*9&sqa^CP8d54SXu0B2*f%^8+f97|Fn&i%!m!98c!*scfdAU_q8krfo9d+)&z45#96% zvXNt16rJQSera?H3LpAnbst++_9dZwb-hTvr ztRk2qgBbQzCgy)h(RUbA8Q)?z$^KGM&L=F^x{@cn6AvvtVlVqpK?5>xlJ!!!W@Nnf zvR@UH?~myF?K>d2hBJcHFZ)_SiC?xE{%zV`*wdLw?9X#X@B(C%Xj!Lz5_>t{JPeM` zCSou9WWlqLc@z2YCi?#foq@z&_S0o#Wr<((1RsZ-&Qwx1xP!{b_Wt;pR + +int a_global = 40; + +int main(void) { + printf("Global is: %d\n", a_global); + return (0); +} \ No newline at end of file diff --git a/unterminated_string b/unterminated_string new file mode 100644 index 0000000000000000000000000000000000000000..d99e35375899631b06fc69c6a3f866cfd1444a37 GIT binary patch literal 6795 zcmeHLTWlOx89wWc?ajsOZ7!{I5t)VroEA@PCvhFBB)h)OMoyeM4ir*nJl-AK3wyD4 zXM-J4Vc|CF;)WUtRek6KLaIQBho~Tthdv}SN>n67BB&HZK~_bDU0QGzhyplXzW>ZQ zyR*CFs&5D>X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