netstat -nap
- [10%] List TCP and UDP connetions (IPv4).
- [10%] List TCP and UDP connetions (IPv6).
- [30%] Show corresponding program names and arguments for each identified connection.
- [10%] Implement -u and --udp option using getopt_long(3).
- [10%] Implement -t and --tcp option using getopt_long(3).
- [10%] Translate network address into user-friendly formats, e.g., from
0100007F
to127.0.0.1
, and fromFE01A8C0
to192.168.1.254
. - [10%] Implement basic filter string feature.
- [10%] Use Makefile to manage the building process of your program.
- [10%] If your filter string supports regular expression, see regex(3).
- Fix parameters in inet_ntop for IPv6 rmt ip address
-5
- Close opened dir
* 0.8
Cause Segmentation Fault - Increase PROCESS_NUM
Library Call Monitor
- [10%] A monitored executable can work as usual. Your program cannot break the functions of a monitored executable.
- [20%] Monitor functions listed in minimum requirements.
- [20%] Provide basic list for function call parameters and return values.
- [20%] Provide comprehensive list for function call parameters and return values.
- [20%] Output can be configured using
MONITOR_OUTPUT
environmental variable. - [10%] Use Makefile to manage the building process of your program. We will not grade your program if we cannot use make command to build your program.
- Does not show
fscanf
Extend the Mini Lib C to Handle Signals
- [12%] alarm
- [12%] sigprocmask
- [12%] sigpending
- [12%] functions to handle sigset_t data type
- [20%] setjmp and longjmp
- [20%] signal and sigaction
- [22%] extra (unpublished) test cases
Simple Instruction Level Debugger
- Load and run the program.
- Start the program, continue execution, and step into functions.
- Dump memory content.
- Set and get value from registers.
- Disassemble assembly from the executable or from a memory region.
- Handle break points.