Commit Graph

27 Commits

Author SHA1 Message Date
Andy Nguyen
fab3db6d51 Restructure source code and improve Makefile. 2021-11-04 17:58:27 +01:00
Andy Nguyen
94188d249f Reduce call stack depth. 2021-11-03 18:10:39 +01:00
Andy Nguyen
dc5063ba7d Add mmap constant in JIT class. 2021-11-03 17:21:09 +01:00
Andy Nguyen
b45af6fec5 Split mapPayload into jitMap and jitCopy. 2021-11-03 17:19:40 +01:00
Andy Nguyen
39ab5ea346 Clean up API class. 2021-11-03 17:08:43 +01:00
Andy Nguyen
18118ff574 Stabilize and make API calls parallelizable. 2021-11-02 23:05:22 +01:00
Andy Nguyen
49311ffaff Optimize API class a bit. 2021-10-31 22:06:06 +01:00
Andy Nguyen
548af2ec1a Restore -Os flag and add other sections to linker file. 2021-10-30 22:34:59 +02:00
Andy Nguyen
f6391aeafd Add logging and import examples to payload. 2021-10-30 22:32:18 +02:00
Andy Nguyen
57233f4a72 Fix typo in JIT. 2021-10-29 21:46:55 +02:00
Andy Nguyen
0818b13b23 Various clean up. 2021-10-28 18:15:33 +02:00
Andy Nguyen
73f3c476ef Use file length as the address is already predictable. 2021-10-27 21:15:40 +02:00
Andy Nguyen
3314b0e7bc Reduce JIT allocation size to 1MB. 2021-10-27 21:12:07 +02:00
Andy Nguyen
304686cfc0 Check for negative offsets. 2021-10-27 21:06:56 +02:00
Andy Nguyen
560014c17d Support data section in payload and implement errno. 2021-10-27 21:04:09 +02:00
Andy Nguyen
3020b3476d Sort imports. 2021-10-27 18:14:29 +02:00
Andy Nguyen
482b71df77 Undo clean up attempt. 2021-10-26 21:07:53 +02:00
Andy Nguyen
bac2425948 Simplify loops and catch more specific exceptions. 2021-10-26 20:22:19 +02:00
Andy Nguyen
3f94ab0869 Copy all sections as strings are otherwise missing. 2021-10-25 10:47:37 +02:00
Andy Nguyen
d48b3df31c Print console's IP address on screen. 2021-10-25 09:47:12 +02:00
Andy Nguyen
fd9d1ce342 Make constants public as well. 2021-10-25 09:36:45 +02:00
Andy Nguyen
6be7872c8b Make API, JIT and Screen classes public. 2021-10-25 09:31:37 +02:00
Andy Nguyen
c7f1c7f53b Reformat. 2021-10-25 09:24:24 +02:00
Andy Nguyen
a1ea409332 Use different exceptions and clean up. 2021-10-25 09:19:52 +02:00
Andy Nguyen
f202a5a495 Clean up payload. 2021-10-24 22:57:03 +02:00
Andy Nguyen
2a62c2b396 Don't need fakejdk.jar. 2021-10-24 22:31:27 +02:00
Andy Nguyen
8f0a5539e8 Initial commit. 2021-10-24 17:23:44 +02:00