Hard Live

Every Bit Counts

70 points

43 Solves

Reverse Engineering

ebouteillon

Community Rating: 4.89 / 5

Headline

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

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.

First 10 Solvers

Rank Username
1 tenchijin
2 domin568
3 Caillou
4 barnasm
5 ahko3112
Rank Username
6 shikame
7 mamimi1773
8 Ntoskrnl
9 Canlex
10 EdbR

Comments

    • Rivit

      Protected 0.0

      [REDACTED] This comment is only shown to users who have solved this challenge.

    • Canlex

      Protected 0.0

      [REDACTED] This comment is only shown to users who have solved this challenge.

    • Canlex

      Protected 0.0

      [REDACTED] This comment is only shown to users who have solved this challenge.

    • ebouteillon

      Protected 0.0

      [REDACTED] This comment is only shown to users who have solved this challenge.

      • domin568

        Protected 0.0

        [REDACTED] This comment is only shown to users who have solved this challenge.

        • ebouteillon

          Protected 0.0

          [REDACTED] This comment is only shown to users who have solved this challenge.

      • Caillou

        Protected 0.0

        [REDACTED] This comment is only shown to users who have solved this challenge.

        • ebouteillon

          Protected 0.0

          [REDACTED] This comment is only shown to users who have solved this challenge.