Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-05-27 | SCI: Fix MSVC warnings | Filippos Karapetis | |
- Remove unused parameters - Initialize potentially uninitialized variables - Use Common::String instead of a fixed buffer - Remove redundant parentheses - Change float suffix to be uppercase - Fix spacing - Fix integer left shifts with boolean variables - Fix potential division by zero - Fix missing breaks | |||
2019-03-18 | SCI: Fix disassembler crash on invalid property | sluicebox | |
Fixes debugger crash when disassembling an instruction whose operand is an invalid property. This occurs in LB2 floppy 1.0 script 720 in sGetUp:changeState and sStepOnNail:changeState. | |||
2018-11-13 | SCI: Fix Fall Through Compiler Warnings. | D G Turner | |
2018-08-25 | SCI32: Remove reg32_t and use reg_t in all cases | Filippos Karapetis | |
reg32_t was a transitive solution, before reg_t's were adapted to use 32-bit addresses internally, and before support for SCI3 was added. It was introduced as another way to handle large script offsets in SCI3, and was only used for the program counter (PC). It's no longer needed, as we now support SCI3 script offsets using reg_t's, so we can use make_reg32 in all cases where we need to access offsets over 64KB | |||
2017-10-21 | SCI: Allow lofsa string printing in disasm for all SCI versions | Willem Jan Palenstijn | |
2017-10-21 | SCI: Fix offsets in disasm for multi-param opcodes | Willem Jan Palenstijn | |
This code was assuming that retval points to the start of the next instruction, which is only true if the current parameter is the last one. This fixes op_call printing. | |||
2017-09-30 | SCI: Fix printing of super calls on clones in debugger | Colin Snover | |
2017-09-27 | SCI: Fix use-after-free when kernel call debugging is active during a save ↵ | Colin Snover | |
game restore | |||
2017-07-30 | SCI: Show inherited methods when viewing an object in the debugger | Colin Snover | |
2017-07-30 | SCI32: Fix breakpoints on reading/writing selectors in SCI3 | Colin Snover | |
2017-07-26 | SCI32: Fix lofsa/lofss of strings in SCI3 disassembly | Colin Snover | |
2017-07-23 | SCI: Resolve offset names when disassembling object methods | Colin Snover | |
2017-06-10 | SCI: Expand kernel breakpoint pattern matching for negative matches | Willem Jan Palenstijn | |
See matchKernelBreakpointPattern() for samples. The main envisioned use is DoSound*,!DoSoundUpdateCues to match all DoSound sub-functions except DoSoundUpdateCues. | |||
2017-06-10 | SCI: Clean up breakpoint code (indentation, consistency) | Willem Jan Palenstijn | |
2017-06-10 | SCI: Move bpk/logkernel to main breakpoint infrastructure | Willem Jan Palenstijn | |
This changes the syntax for bpk and logkernel: Enable breakpoint on kernel call: bpk FrameOut Enable logging for kernel call: bpk FrameOut log For backward compatibility this has an alias: logkernel FrameOut Removing a kernel call breakpoint is done with bp_del/bc now. | |||
2017-06-10 | SCI: Allow multiple breakpoints with same trigger but different action | Willem Jan Palenstijn | |
2017-06-10 | SCI: Add inspect, none breakpoint actions | Willem Jan Palenstijn | |
2017-06-10 | SCI: Move printObject from console to scriptdebug | Willem Jan Palenstijn | |
2017-06-10 | SCI: Add break/log/backtrace actions for triggered breakpoints | Willem Jan Palenstijn | |
The action can be set using the new console command bp_action/bpact. | |||
2017-06-10 | SCI: Add underscores to Breakpoint member variables | Willem Jan Palenstijn | |
2017-06-10 | SCI: Move backtrace output to scriptdebug.cpp | Willem Jan Palenstijn | |
2017-06-10 | SCI: Handle selector read/write breakpoints from opcodes | Willem Jan Palenstijn | |
2017-06-10 | SCI: Fix wildcard selector breakpoints | Willem Jan Palenstijn | |
0f9c33e02f1cb2c740c1eb0dcaad96dd22ec29e7 in 2011 broke selector breakpoints of the type "ObjName::", which previously caught all selector sends of the named object. Thanks to TMM and snover for noticing. | |||
2017-04-23 | SCI32: Improve disassembly output of SCI3 property opcodes | Colin Snover | |
Since SCI3 scripts use selectors instead of offsets as operands to property-related opcodes, the disassembler can look up and display property names everywhere (unlike SCI2.1 and earlier, which need to know the object being operated on to look up the correct selector for a given offset). | |||
2017-04-23 | SCI: Fix support for 32-bit SCI3 script offsets | Colin Snover | |
2017-04-23 | SCI: Fix whitespace errors | Colin Snover | |
2017-04-23 | SCI: Remove dead code in Script_Offset disassembler | Colin Snover | |
Script_Offset is only ever used for lofsa/lofss opcodes. | |||
2017-04-23 | SCI: Fix bad offsets in disassembly for SCI3 lofsa/lofss | Colin Snover | |
2017-04-22 | SCI: Avoid crashing when disassembling a call with a bad object | Colin Snover | |
lookupSelector will raise an error if the passed object ID is invalid. | |||
2017-04-22 | SCI: Display class names in disassembly | Colin Snover | |
2017-03-30 | SCI: Replace magic numbers in reg_t handling with symbols | Colin Snover | |
2017-03-27 | SCI: Implement bounds-checked reads of game resources | Colin Snover | |
2017-02-05 | SCI: Fix more unsafe C-string usage | Colin Snover | |
2016-12-12 | SCI: Ensure bytecode/BWT for "file" op is also printed | Colin Snover | |
Learning the bytecode for file op is necessary when creating workaround signatures, as the signature-finding mechanism does not currently ignore line/file instructions. | |||
2016-11-20 | SCI: Improve disassembly output | Colin Snover | |
1. pushi opcode now displays decimal value and selector value (if one exists) in-line 2. lofsa, lofss, and super opcodes now display resolved object/class names 3. Opcode arguments are visually aligned | |||
2016-11-20 | SCI: Add code-address breakpoints to debugger | Colin Snover | |
2016-03-25 | SCI: Introduce accessors for SegmentObjTable entries. | Johannes Schickel | |
This makes code not use _table directly whenever possible. An exception is the save game code which is not easy to adapt due to design deficiencies. | |||
2016-03-01 | SCI: Use uint32 instead of unsigned int | Filippos Karapetis | |
2014-05-27 | ALL: Rename Debugger::DebugPrintf to Debugger::debugPrintf. | Johannes Schickel | |
2014-02-18 | SCI: Make GPL headers consistent in themselves. | Johannes Schickel | |
2014-01-27 | SCI: fix null pointer access in logKernelCall | Martin Kiewitz | |
method was/is used for debugging only CID 1003612 | |||
2013-02-23 | ALL: Fix typo (existant->existent) | Willem Jan Palenstijn | |
2012-10-06 | SCI: Fix dissect_script crash with invalid object types | Willem Jan Palenstijn | |
2012-10-06 | SCI: Fix some console output formatting | Willem Jan Palenstijn | |
2012-06-23 | SCI: Change the program counter (PC) to be a 32-bit variable | Filippos Karapetis | |
This is needed for future support of large SCI3 scripts. The program counter is isolated and does not interfere with other parts of the VM, plus it does not get stored in saved games, so it's pretty straightforward to convert | |||
2012-06-23 | SCI: Add support for the debug opcode "file" in our script dissassembler | Filippos Karapetis | |
Also set the correct name for the debug opcode "line" | |||
2012-06-21 | SCI: Fix warnings | Filippos Karapetis | |
2012-06-18 | SCI: Store script sizes in 32-bit integers | Filippos Karapetis | |
Since scripts can be larger than 64KB, and getBufSize() returns a 32-bit integer, adapt variables that store script sizes accordingly | |||
2012-06-18 | SCI: Add setter/getter methods to reg_t's | Filippos Karapetis | |
No functionality change has been made with this commit. This avoids setting and getting the reg_t members directly, and is the basis of any future work on large SCI3 scripts (larger than 64KB) | |||
2012-02-15 | JANITORIAL: Fix missing whitespace in pointer cast | Tarek Soliman | |
find -name '*.h' -or -name '*.cpp' | xargs sed -r -i 's@\(([A-Za-z0-9]+)\*\)@(\1 *)@g' This seems to have caught some params as well which is not undesirable IMO. It also caught some strings containing this which is undesirable so I excluded them manually. (engines/sci/engine/kernel_tables.h) |