Commit Graph

  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • 49e27f2 (HEAD -> master) Minor changes, minor additions by Luiserebii 2020-03-15 23:33:32 +0000
  • 2eb705e Minor additions by Luiserebii 2020-03-15 19:23:47 +0000
  • b711287 Finishing up documentation by Luiserebii 2020-03-15 19:18:09 +0000
  • f73a199 Adding documentation on functions testing for integer equality by Luiserebii 2020-03-15 19:01:40 +0000
  • 6e91627 Basic attempt at documentation by Luiserebii 2020-03-15 18:47:31 +0000
  • 36f302b Reorganizing README.md by Luiserebii 2020-03-15 18:35:08 +0000
  • 3ce9e13 Added these meta-tests for CircleCI by Luiserebii 2020-03-15 07:39:34 +0000
  • 4e2769b Test written and generally working, now to integrate in CircleCI by Luiserebii 2020-03-15 07:29:18 +0000
  • 88d244d Beginning to set up pair of tests to ensure return type is correct by Luiserebii 2020-03-15 07:21:32 +0000
  • c0ef33d Minor bug caught, forgot to return exit code from test_end() by Luiserebii 2020-03-14 05:12:50 +0000
  • c33fb9c Correcting .circleci now that it is responsive, let's see by Luiserebii 2020-03-14 04:51:27 +0000
  • df7439c Updating README.md with more thorough detail on output by Luiserebii 2020-03-13 20:29:42 +0000
  • 8e87f76 Updating README.md by Luiserebii 2020-03-13 07:08:48 +0000
  • 5978f91 Wow... appears to work perfectly... we need to write some smaller tests using the framework itself by Luiserebii 2020-03-13 07:04:57 +0000
  • 417fc98 Finished writing out test_end, and a small test to now run by Luiserebii 2020-03-13 07:02:39 +0000
  • 63cae27 Minor fix, and adding of counters for number of tests passing and succeeding, let's try to write test_end() with this now by Luiserebii 2020-03-13 06:49:20 +0000
  • 5d6f3d4 Ahhh, nice, working as intended, I think just a few things are left to round this out by Luiserebii 2020-03-13 06:26:14 +0000
  • 8e23614 Neat, seems our rewrite is ok, just need to prepend 0x now (should it be a macro, I wonder) by Luiserebii 2020-03-13 06:19:35 +0000
  • 31b623a Oooo, some success after our little debug session here, no segfault! Just a few things that I did notice whil in gdb: by Luiserebii 2020-03-13 05:11:33 +0000
  • f658c0f Found some bugs, attempting to fix by Luiserebii 2020-03-13 05:02:47 +0000
  • 75c5bb3 Added tests, and yup, a segfault by Luiserebii 2020-03-13 04:22:12 +0000
  • acc6363 Cleared up assembler errors, now to test... by Luiserebii 2020-03-13 04:20:50 +0000
  • 2d2a219 Finished up test_assert_equal_memory, though need to test by Luiserebii 2020-03-13 04:18:57 +0000
  • 596cab0 Retooled memcpy_v to return nth byte, now to rework test_assert_equal_memory for this by Luiserebii 2020-03-13 04:10:40 +0000
  • 15e42b4 Addition of memcpy_v (as in, memcpy_verbose) to return found and expected byte values into a buffer by Luiserebii 2020-03-13 03:49:01 +0000
  • d5d82c5 Neat, added test, and it seems our basic string assert is working by Luiserebii 2020-03-13 03:18:34 +0000
  • 70c9d2e Adding test_assert_equal_string and len version by Luiserebii 2020-03-13 03:13:34 +0000
  • 87c4f0b Updating name to Mint-x86asm32 by Luiserebii 2020-03-13 02:41:38 +0000
  • 1241ffb Adding .circleci config.yml, let's see if this runs by Luiserebii 2020-03-13 02:19:52 +0000
  • f9a46fb Adding LICENSE.md by Luiserebii 2020-03-13 02:11:02 +0000
  • 70c5c7e strcmp does appear to work, though I am reminded that there is a more efficient way to write it by Luiserebii 2020-03-13 01:54:37 +0000
  • fa81fd8 Ahhh, ok, I think I found the segfault, let's see if this is working by Luiserebii 2020-03-13 01:06:32 +0000
  • 3580f8e Hmmm, this segfault might be a little tricky... thought it might be the char by Luiserebii 2020-03-12 21:54:37 +0000
  • b2cbbf1 Made modficiations to use n as a local variable; interesting situation where we can sort of prove need to free a register... by Luiserebii 2020-03-12 21:32:46 +0000
  • a92cf5a Writing memcmp now that we have thrown together some pseudocode: by Luiserebii 2020-03-12 21:06:48 +0000
  • becb04d Ahhh, yes, our hex is working, very nice, very clean by Luiserebii 2020-03-12 20:29:39 +0000
  • 1c28087 Nice, octal working~ by Luiserebii 2020-03-12 20:22:59 +0000
  • 42b325f Added assert_equal for oct, tried to do it in a way where initial digit is 0 (prepend) and add tests, let's see if it works by Luiserebii 2020-03-12 20:21:08 +0000
  • ff7580f Debugged, nice, our binary thing is working, the other two are similarly trivial; however, they will need something prepended by Luiserebii 2020-03-12 20:15:10 +0000
  • 5f64b34 Ohhh... two typos, an %esp, %esp and a missing ret... that's funny, thanks gdb by Luiserebii 2020-03-12 20:05:43 +0000
  • 178aae1 Ahhh, the legendary segfault... the segfault of legend... yes, it is welcomed by Luiserebii 2020-03-12 19:54:28 +0000
  • b611ee1 Adding macro for test_assert_equal, and implementing test_assert_equal_uint by Luiserebii 2020-03-12 19:52:10 +0000
  • 0a8087c Excellent, they print well... this is good by Luiserebii 2020-03-12 19:29:44 +0000
  • c120dfb Added print functions for writing success and fail lines, now to test by Luiserebii 2020-03-12 19:27:59 +0000
  • 361fa2c Implemented write_success_line by Luiserebii 2020-03-12 19:21:41 +0000
  • ee5043a Wrote up write function for fail line, now to do the same with success line by Luiserebii 2020-03-12 19:17:14 +0000
  • da6a471 Writing of string literals for final line printout, and writing of function to write a fail final line to the buffer by Luiserebii 2020-03-12 19:05:23 +0000
  • b908fdd Ahh, yes... yes yes yes... thank you GDB, forgot len addition (checked C pseudocode, and yup, it was that)... I think we have a working atoi right now by Luiserebii 2020-03-12 08:17:20 +0000
  • 165a338 Corrected the issue; thank you GDB by Luiserebii 2020-03-12 07:53:29 +0000
  • 2fce826 Added a small test, and... lol nuts, a segfault by Luiserebii 2020-03-12 07:45:48 +0000
  • cee1dd9 Wrote out strrev, now to test... by Luiserebii 2020-03-12 07:42:32 +0000
  • 6713f92 Wrote swap function, working on strrev by Luiserebii 2020-03-12 07:26:55 +0000
  • a2c4b9d Added exceptional case for 0, appears to be working by Luiserebii 2020-03-12 06:50:24 +0000
  • 1b15d0a Modfied atoi to work with a specified base, seems to work by Luiserebii 2020-03-12 06:40:46 +0000
  • ae4e50f Switching atoi to lookup table to work smoothly with base 16 by Luiserebii 2020-03-12 06:31:37 +0000
  • c22122e Implemented test_assert_false, test_assert_true alias macro, and tests which show that they work, although the itoa bug appears again by Luiserebii 2020-03-12 04:01:48 +0000
  • e39264b Finally finished and closed off the logic for test_assert, and it looks good, there is just a bug with itoa that I can see by Luiserebii 2020-03-12 03:43:38 +0000
  • ace9518 Test added and passing, and atoi added by Luiserebii 2020-03-12 03:28:05 +0000
  • 2216193 Implemented the write and print functions for fail_bool_false, and to test, now... by Luiserebii 2020-03-12 03:18:38 +0000
  • 464b259 Added test_print_fail_bool_true alongside a test, and appears to perform as it should by Luiserebii 2020-03-12 03:12:11 +0000
  • 04bdc87 Filled in appropriate literals, now to add a write function and test that by Luiserebii 2020-03-12 03:07:14 +0000
  • f6fd622 Implementing test_write_fail_bool_true function, needed for our conditional asserts by Luiserebii 2020-03-12 03:03:51 +0000
  • fd74db1 Implemented test_print_fail_memory, and it's actually working, neat by Luiserebii 2020-03-12 02:39:05 +0000
  • bb5768d Ahhh, nice, nice, seems like our test_write_fail function is actually working by Luiserebii 2020-03-12 02:32:50 +0000
  • db7d1cf Very nice... appears to be working fairly smoothly by Luiserebii 2020-03-12 02:23:28 +0000
  • 0fbd8ee Attempting to implement functions on top of write and print functions which simply uses the buffer in the program to print things passed by Luiserebii 2020-03-12 02:21:24 +0000
  • 08e5841 Adding literals for test_write_fail_memory function by Luiserebii 2020-03-12 01:40:23 +0000
  • 8817497 Adding test_write_success function and brief description by Luiserebii 2020-03-12 01:00:55 +0000
  • 64cad55 Ahhh, nice, clean, finally, the expected output, this is very good here by Luiserebii 2020-03-12 00:48:21 +0000
  • e9dcb0f Correcting _strcat and _strcpy, let's see how it goes by Luiserebii 2020-03-12 00:38:34 +0000
  • be1ff26 Found the segfault, we were mismatching sizes, time to apply to other function and ideally fix them by Luiserebii 2020-03-12 00:28:55 +0000
  • 3037c8a Just a plain segfault... alright by Luiserebii 2020-03-11 21:55:20 +0000
  • 8c893b1 Wrote strlen(), now to implement in macro by Luiserebii 2020-03-11 21:50:34 +0000
  • 533ece3 Reading over the write() syscall, I don't think it takes that bytes param as a max; we're going to have to implement strlen and stick it in the macro by Luiserebii 2020-03-11 21:45:44 +0000
  • 1b23cd3 Ok, I think I fixed the segfault now... maybe... the output is weird, but I spotted errors with register usage (even in macros, whenever we call a function, we basically have to remember those regs don't belong to us anymore) by Luiserebii 2020-03-11 21:27:45 +0000
  • 3b7f2e8 Hmm, macros are hard to debug... let's break it in for now by Luiserebii 2020-03-11 21:19:51 +0000
  • 360c933 Thanks to gdb, we found the segfault; we kind of screwed the stack by using a maro that pushes to it, and not resetting it afterwards by Luiserebii 2020-03-11 21:07:12 +0000
  • c9d94f4 Corrected with new strcat, should work as long as there's a null-terminated char in the buffer by Luiserebii 2020-03-11 20:48:26 +0000
  • 87404eb Segfaulting and I think I (kind of) know why; we implemented strcpy by accident by Luiserebii 2020-03-11 20:37:06 +0000
  • b50b569 Typing up driver code to test our write_fail function by Luiserebii 2020-03-11 20:30:22 +0000
  • 0a4c8ec Wrote up _strcat function, we might get some memory references errors here, but I'm curious to verify some things regarding that by Luiserebii 2020-03-11 20:22:12 +0000
  • 794eab6 Addition of test_write_fail function, need to implement strcat next to test by Luiserebii 2020-03-11 20:11:10 +0000
  • 26bf93a Added macro to write a failure to a string buffer. Not sure if this should be a function instead, macro eliminates some tradeoffs for us, only thing is that if %ebp base pointer adressing is after than %esp, this could be one benefit we miss out on here by Luiserebii 2020-03-11 20:02:13 +0000
  • 56d4aca Ohhh, just spotted the issue with the macro... it was a typo... lol by Luiserebii 2020-03-11 08:28:03 +0000
  • ddd71ec Very nice... we have our print linking up by Luiserebii 2020-03-11 07:52:53 +0000
  • a3e8b1e Errors cleared, build appears successful! This is a good point for a commit by Luiserebii 2020-03-11 07:47:00 +0000
  • cebc16c Makefile cleanup, renamings and creation of Makefile for our tests by Luiserebii 2020-03-11 07:42:40 +0000
  • 6846cb9 Attempting to use print macro gives us: by Luiserebii 2020-03-11 07:30:23 +0000
  • d8bb372 Working on really basic macro and print function by Luiserebii 2020-03-11 07:24:23 +0000
  • 11d7146 Adding in string literals to use in construction of output by Luiserebii 2020-03-11 07:02:11 +0000
  • 1c18ff4 More detailed ideas on how failure output may look, alongside further function API development, I think this is looking good by Luiserebii 2020-03-11 06:40:18 +0000
  • 63b8086 Sketched out functions to implement; it's probably important to note that the memory thing doesn't scan deeply (string requires dereferencing each char... we will have to think a little bit about alignment also. Defaulting to 32-bit should be safe) by Luiserebii 2020-03-11 05:59:48 +0000
  • 37fd844 Attempting to sketch out output by Luiserebii 2020-03-10 22:57:07 -0400
  • 4deff8a Continuing to flesh out, seems we'll need a few functions here. Also, would be good to establish the format to print beforehand by Luiserebii 2020-03-10 15:56:41 -0400
  • 02170e0 Fleshing out basic functions. We may need to create strcat() and some other string functions, to function as internal utility functions by Luiserebii 2020-03-10 15:45:34 -0400
  • 3c6757a Initial commit by Luiserebii 2020-03-10 15:15:07 -0400