1. Homepage
  2. Programming
  3. [2021] UIC - CS 361: Systems Programming - Homework2 Inspecting Running Processes

[2021] UIC - CS 361: Systems Programming - Homework2 Inspecting Running Processes

Engage in a Conversation
CS361Systems ProgrammingUniversity of Illinois at ChicagoUICInspecting Process

Homework 2 Inspecting Running Processes#



The Challenge!#

In the last homework you looked at the symbol table of your own compiled program. This time we'll be watching and interacting with precompiled programs as they execute.
CourseNana.COM


CourseNana.COM

Before you start, please make sure to set up your environment correctly. You have two options for this homework: CourseNana.COM

  1. Use systems[1-4].cs.uic.edu (e.g. systems1, systems2, etc.), or
  2. Use the .devcontainer folder that is included with the skeleton code to set up your Docker container environment. Before opening your workspace in the container, you need to modify both Dockerfile and devcontainer.json files and replace the netid with your UIC NetID (ARG USERNAME=netId and "remoteUser": "netId"). After opening the workspace in the container, please install ltrace and strace using sudo apt update && sudo apt install ltrace strace -y.


CourseNana.COM

In either case, when you run whoami command in the terminal, it should return your UIC NetID. Please note that if the result is different than your NetID, your secrets will not be accepted by the autograder. CourseNana.COM


CourseNana.COM

The skeleton code for this assignment is available through this GitHub Classroom assignment. You must use GitHub classroom to write your code and keep a commit log on GitHub. You can submit the code via Gradescope.

Your task will be to fill out two files in your personal repository called secrets.txt and howto.txt.
CourseNana.COM


CourseNana.COM

The format for secrets.txt should be: CourseNana.COM

0. these
1. are
2. not
3. real
4. secrets

howto.txt is also required: you must describe in English how to find the secret for that given executable. Each individual howto should be on one more more lines after a line with only the executable number and a period on it, like so: CourseNana.COM

0.
This was the really easy one. You had to run it and then type in the secret of life.
1.
For this one, I had to:
* Run a specific unix utility to learn some specific information
* Perform some specific task that I found out about by checking part of a specific line in the output of the unix utility.
...

Your howto.txt should enable any other CS 361 student to find the password within a minute of reading it. CourseNana.COM


Warning#

You must complete this assignment on systems[1-4].cs.uic.edu or the specified Docker container. Failure to do so will result in a zero. CourseNana.COM


CourseNana.COM

You will not be given any other files to complete secret findings except the 5 executable files. CourseNana.COM


CourseNana.COM

Hints:#

Open your howto.txt alongside your shell as you work on each executable file, and use it to take notes. If you don't give a full description of how to arrive at the answer, you may not receive points. CourseNana.COM

The content of lab section will cover basic usage of gdbstrace and ltrace which will be incredibly helpful for this assignment. CourseNana.COM

./4 is the "final boss" of this assignment (and is thus worth more points). It tests the implementation of a dynamically linked library, so it will leverage all of your skills that you've developed while studying chapter 7. CourseNana.COM


Template#

The executable files are available in the classroom repository and can be accessed using the link above. CourseNana.COM

Get in Touch with Our Experts

WeChat (微信) WeChat (微信)
Whatsapp WhatsApp
CS361代写,Systems Programming代写,University of Illinois at Chicago代写,UIC代写,Inspecting Process代写,CS361代编,Systems Programming代编,University of Illinois at Chicago代编,UIC代编,Inspecting Process代编,CS361代考,Systems Programming代考,University of Illinois at Chicago代考,UIC代考,Inspecting Process代考,CS361help,Systems Programminghelp,University of Illinois at Chicagohelp,UIChelp,Inspecting Processhelp,CS361作业代写,Systems Programming作业代写,University of Illinois at Chicago作业代写,UIC作业代写,Inspecting Process作业代写,CS361编程代写,Systems Programming编程代写,University of Illinois at Chicago编程代写,UIC编程代写,Inspecting Process编程代写,CS361programming help,Systems Programmingprogramming help,University of Illinois at Chicagoprogramming help,UICprogramming help,Inspecting Processprogramming help,CS361assignment help,Systems Programmingassignment help,University of Illinois at Chicagoassignment help,UICassignment help,Inspecting Processassignment help,CS361solution,Systems Programmingsolution,University of Illinois at Chicagosolution,UICsolution,Inspecting Processsolution,