[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

Find ways to break eachothers programs

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 8
Thread images: 1

File: 1456350976353.jpg (26KB, 264x225px) Image search: [Google]
1456350976353.jpg
26KB, 264x225px
I'll start

I programmed tic-tac-toe in ASM / Mips. Using the MARS instructor set, the only input you can give is 2 characters via syscall used twice, that only takes 1 Character each needed for the position of either an X or an O . Positions can be between 0-2 for rows and again 0-2 for columns.

I use an array with the length of 9 to store the Characters needed for drawing my gameboard.

What input can you give, so that my program falls apart. The only check I built in is if the ASCII character you give it is between the representative values of 0 and 2.
>>
Board for clarification
| |
0.0 | 0.1 | 0.2
----|-----|----
1.0 | 1.1 | 1.2
----|-----|----
2.0 | 2.1 | 2.2
| |
>>
>>60228656
Install gentoo
>>
>>60228687

nice formating
>>
>>60228656
Without the source code your question is pointless
What does fall apart mean? Incorrect behaviour, crashing or a security hole
I could say that I would give the coordinates of an already filled cell, but just from your post I cannot predict what would happen
>>
>>60228771
Can't post the source code due to limitations by my university
>>
>>60229081
Then fuck off.
>>
>>60229081
do your homework yourself danny
Thread posts: 8
Thread images: 1


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.