Every Bit Counts
70 points Hard

My colleague is a senior C developer and he had a bad experience in his job assignment. He was developing applications for a real-time embedded operating system named "Buggy OSâ„¢". He had to implement workarounds to avoid using the standard C library in some cases. For instance the memcmp shouldn't be used to test command-line argument because of obscure reason resulting in some bits were not checked. Instead he implemented its own function to check each bit of the command-line and it was working fine.

To show case how painful it was, he showed me one of its application implementing his new function, but he forgot the supported command-line parameter.

Note: Solution with cool effects shared in comment.

every_bit_counts
Flag
Top10
1 tenchijin 0h 00m 00s
2 domin568 + 4d 5h 46m 32s
3 Caillou + 9d 0h 53m 56s
4 barnasm + 9d 4h 17m 07s
5 ahko3112 + 14d 11h 35m 22s
6 shikame + 17d 21h 06m 11s
7 mamimi1773 + 21d 16h 31m 17s
8 Ntoskrnl + 43d 22h 02m 35s
9 Canlex + 46d 8h 40m 17s
10 EdbR + 46d 9h 00m 36s
Rating 4.81
5
4
3
2
1

Discussion

brutal

0
Protected
0

Good challenge, this was my first successful angr script

0

angr FTW!

0
Protected
0

Good job

0
Protected
0

Nice ?

0
Protected
0
Protected
0
Protected
0
Protected
0
Protected
0
Protected
0