Brian Attwell
2010-05-23 01:49:20 UTC
To what degree do we need our programs to mimic the unspecified behaviour in
provided executables?
For example, running PreciseMoney.out on linux006.student.cs:
command: $1.999951
== $2.00
command: $1.999949
== $1.99
This behavior occurs predictably in PreciseMoney.out and can be easily
reverse engineered. However, is it something that we are responsible for
doing? Or, should we never need to implement behaviour in provided
executables unless they are mentioned in the assignment.
provided executables?
For example, running PreciseMoney.out on linux006.student.cs:
command: $1.999951
== $2.00
command: $1.999949
== $1.99
This behavior occurs predictably in PreciseMoney.out and can be easily
reverse engineered. However, is it something that we are responsible for
doing? Or, should we never need to implement behaviour in provided
executables unless they are mentioned in the assignment.