Skip to content
This repository has been archived by the owner on May 16, 2019. It is now read-only.

Commit

Permalink
typos
Browse files Browse the repository at this point in the history
  • Loading branch information
Lenni Hein committed Dec 1, 2018
1 parent 7808b2f commit c7b2095
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
4 changes: 2 additions & 2 deletions MiniBug/functions.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ void peek_reg(pid_t pid, int fd)
err = read(fd, &req, __REQ_SIZE__);
assert(err == __REQ_SIZE__, "");

int rax = ptrace(PTRACE_PEEKUSER, pid, req.value, NULL);
int value = ptrace(PTRACE_PEEKUSER, pid, req.value, NULL);

req.control = __VALUE__;
req.value = rax;
req.value = value;
write(fd, &req, __REQ_SIZE__);

printf("> Peek Reg\n");
Expand Down
8 changes: 5 additions & 3 deletions MiniBug/todo.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
## TODO

- [ ] acknowledgements for TCP [so-link](https://stackoverflow.com/questions/19794764/linux-socket-how-to-make-send-wait-for-recv)
- [x] acknowledgements for TCP [so-link](https://stackoverflow.com/questions/19794764/linux-socket-how-to-make-send-wait-for-recv)

- [ ] messages and requests can be structs :o -> refactoring
- [x] messages and requests can be structs :o -> refactoring

- [ ] refactor message into something thoughtful
- [ ] refactor message into something thoughtful

- [ ] rename assertion huh

0 comments on commit c7b2095

Please sign in to comment.