From 0a17928ce7a20ffb06e55d8ea2edc98a9ec50260 Mon Sep 17 00:00:00 2001 From: David Li Date: Mon, 25 Jan 2016 14:45:32 -0500 Subject: docs(devkit): remove useless code in example bot --- TODO.md | 3 +++ devkit/test.c | 4 ---- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/TODO.md b/TODO.md index fb685ab..b2f00b7 100644 --- a/TODO.md +++ b/TODO.md @@ -27,6 +27,9 @@ https://git.lidavidm.me/cacheracer/. - [ ] Core status - [ ] Cache info - [ ] Enemy memory should be inaccessible unless in sneak-attack mode +- [ ] Easy snooping: instead of storing data in cache, just track tags + and defer to memory when data actually read (depends on memory not + itself stalling) ## Scoring diff --git a/devkit/test.c b/devkit/test.c index ddf25a4..2649f20 100644 --- a/devkit/test.c +++ b/devkit/test.c @@ -1,11 +1,7 @@ #include "cacheracer.h" void __start(int core_id, unsigned char payload) { - printi(HOME_RW_START - sizeof(struct player_status)); - /* int test = global + 2; */ - /* print(hello); */ int *ptr = (int*) (HOME_DATA_START + 0x100 * core_id); - /* int *ptr = (int*) (0x6000); */ int i = 0; if (core_id > 1) { prints("Core ID > 1, sneak attacking"); -- cgit v1.2.3