Maarten Steevens

Results 10 issues of Maarten Steevens

The class `proguard.backport.LambdaExpressionCollector` is present in both proguard and proguard-core with a slight difference in API. The one in proguard, which I assume is the older version uses `Map lambdaExpressions`...

This allows the InternalTypeEnumeration to be used in for-each loops. For compatibility reasons these methods just call the existing `hasMoreTypes` and `nextType` methods. Example: ```Java InternalTypeEnumeration internalTypeEnumeration = new InternalTypeEnumeration("(Ljava/lang/Object;I)Ljava/lang/Integer;");...

I noticed that a file disassembled with Proguard Assembler cannot be assembled again, it results in a `ParseException`. I tried tracing the source of this issue and it appears to...

It would be beneficial to compress memory when taking snapshots, especially when restoring snapshots on microcontrollers using the remote debugger. This would be particularly useful for cases where very little...

feature
performance

Currently the debugger uses a lambda ```c++ auto toVA = [m](uint8_t *addr) { return toVirtualAddress(addr, m); }; ``` and then later the code uses ``` toVA(m->pc_ptr) ``` It's just a...

refactor

The run_module method in WARDuino.cpp is a bit strange to use. ```cpp int WARDuino::run_module(Module *m) { uint32_t fidx = this->get_main_fidx(m); // execute main if (fidx != UNDEF) { this->invoke(m, fidx);...

feature

For example, the message `0900020a01` will cause `eventsState` and `pcState` to be returned, but `pcState` doesn't check `addComma` like the other states, probably because of an incorrect assumption that it...

bug

Instead of just stopping the vm upon abort, the abort function will now actually print the filename, error message and line and column positions. Result: ![image](https://github.com/user-attachments/assets/d6ac6a86-5d07-4c34-99c3-dbe8927e3414)

feature

Currently only uses run length encoding to transfer snapshots from the microcontroller to the computer, not the other way around. The VSCode plugin will need changes to be able to...

performance

Adds a snapshot policy that doesn't take snapshots at every instruction but every x instructions and at primitive calls (for reversibility). Because the debugger has to know when these snapshots...