Commit Graph
73 Commits
Author SHA1 Message Date
bird_egop 3ea408d088 Improved XCHG instruction test to be more flexible about operand order 2025-04-12 22:10:01 +03:00
bird_egop d5bcd56774 Added tests for previously untested DataTransferHandler methods and fixed NOP instruction handling 2025-04-12 22:05:51 +03:00
bird_egop 759d28f9a7 Added comprehensive tests for instruction handlers 2025-04-12 22:00:15 +03:00
bird_egop 5ede2bd3c6 remove comments 2025-04-12 21:54:06 +03:00
bird_egop a0e40c8a52 Fixed instruction handlers and tests for Group1, Group3, and XOR instructions 2025-04-12 21:48:41 +03:00
bird_egop f107b8e763 Added comprehensive tests for various instruction handlers. Created test files for Jump, Return, XOR, Group1, Group3, and Call instructions. Fixed ConditionalJumpHandler test to use 'jz' instead of 'je' since they are equivalent in x86. 2025-04-12 21:38:47 +03:00
bird_egop 794b56c6b5 move handlers 2025-04-12 21:34:16 +03:00
bird_egop a6b6cc1149 Removed two-byte instruction handling from FloatingPointHandler. Simplified the code by removing the TwoByteInstructions dictionary and related methods since we now have dedicated handlers for specific instructions. 2025-04-12 21:29:43 +03:00
bird_egop 6ed6a7bd00 Fixed floating point instruction handling. Removed redundant FNSTSW AX check from FloatingPointHandler and added dedicated test for FnstswHandler. 2025-04-12 21:27:17 +03:00
bird_egop fe0b04f5a1 Fixed TEST instruction handlers and tests. Updated TestImmWithRm8Handler and TestImmWithRm32Handler to properly check opcode in CanHandle and validate reg field in Decode. Improved test cases to use InstructionDecoder directly. 2025-04-12 21:21:03 +03:00
bird_egop bf5fcdd2ff Fixed ConditionalJumpHandler to correctly implement x86 architecture specifications 2025-04-12 21:09:41 +03:00
bird_egop bd251b6c06 Improved ConditionalJumpHandler with better documentation and clearer code 2025-04-12 21:02:52 +03:00
bird_egop 0925bb7fef Fixed ConditionalJumpHandler to correctly display jump offset and added X86DisassemblerTests project to solution 2025-04-12 21:00:32 +03:00
bird_egop 87e0c152e2 Fixed disassembler regression by adding handlers for TEST r/m8, r8 and TEST r/m8, imm8 instructions 2025-04-12 20:32:38 +03:00
bird_egop dbc9b42007 Removed obsolete handler classes and restored InstructionHandlerFactory 2025-04-12 20:25:29 +03:00
bird_egop 1442fd7060 Removed obsolete Group1Handler and Group3Handler classes 2025-04-12 20:14:28 +03:00
bird_egop e4b8645da0 Implemented individual handlers for Group1 and Group3 instructions 2025-04-12 20:13:01 +03:00
bird_egop 58a148ebd8 Refactor instruction handlers to use single instruction per handler pattern 2025-04-12 19:57:42 +03:00
bird_egop 82ffd51a3e Add support for RET instruction with immediate operand (0xC2) 2025-04-12 19:36:46 +03:00
bird_egop 0fb3fd7311 Add support for XOR instruction 2025-04-12 19:35:25 +03:00
bird_egop f3aa862a57 Add support for two-byte conditional jumps, including JNZ (0F 85) 2025-04-12 19:30:13 +03:00
bird_egop cedd7a931e Add support for TEST instruction 2025-04-12 19:26:00 +03:00
bird_egop ae1c4730d0 Add support for FNSTSW instruction 2025-04-12 19:21:32 +03:00
bird_egop dffc405c10 Refactored instruction decoder into smaller, more maintainable components using handler pattern 2025-04-12 19:18:52 +03:00
bird_egop 2e6e133159 Added support for 0x83 opcode (Group 1 operations with sign-extended immediate) 2025-04-12 19:04:43 +03:00
bird_egop 1a76bb4e77 Enhanced x86 instruction decoder to fully decode memory operands and match Ghidra output 2025-04-12 18:55:54 +03:00
bird_egop 3823121bea Added support for floating-point instructions including FISTP 2025-04-12 18:52:55 +03:00
bird_egop 60f63c2c06 clarify rva members 2025-04-12 18:49:23 +03:00
bird_egop d73cccd3c5 Fixed DLL name display and console input handling in the disassembler 2025-04-12 18:44:51 +03:00
bird_egop 9b5ec7e0d6 Implemented enhanced x86 disassembler with improved instruction decoding and display 2025-04-12 18:41:40 +03:00
bird_egop 6a69b0b91b Update code style to follow project rules with one-liner namespace declarations 2025-04-12 18:23:18 +03:00
bird_egop 53de948376 Refactor: Move classes to separate files with one-liner namespace style 2025-04-12 18:11:07 +03:00
bird_egop cf2d61915c Fix nullability warnings by initializing fields in constructors 2025-04-12 18:05:31 +03:00
bird_egop 79773b08aa Move Is64Bit method from OptionalHeaderParser to OptionalHeader class 2025-04-12 18:01:43 +03:00
bird_egop 49a0a9e3a3 Remove function list truncation to show all exported and imported functions 2025-04-12 17:22:20 +03:00
bird_egop e4adb45ed2 Move section code checking logic from SectionHeaderParser to SectionHeader class 2025-04-12 17:20:51 +03:00
bird_egop f1a2fca4f3 Refactor PEFormat into smaller classes following Single Responsibility Principle 2025-04-12 17:12:18 +03:00
bird_egop 61a86f6681 Separate construction from parsing in PEFormat class 2025-04-12 17:05:23 +03:00
bird_egop 666a592217 Reorganize PE format code into separate files in PE namespace 2025-04-12 17:03:04 +03:00
bird_egop bc572f5d33 Fix DLL name parsing in export directory to properly separate DLL name from function names 2025-04-12 16:51:22 +03:00
bird_egop 8dfc0b1a7b Fix import directory parsing to properly resolve all DLL names and functions 2025-04-12 16:47:21 +03:00
bird_egop f5bacc018c test 2025-04-12 16:42:44 +03:00
bird_egop a6057bf072 unfuck 565 and 4444 textures 2025-03-11 04:36:05 +03:00
bird_egop a419be1fce update NRES file with element count and element size, seen in ResTree .trf 2025-03-09 22:56:59 +03:00
bird_egop 8c4fc8f096 комментарии и дополнительные изыскания 2025-03-05 18:15:48 +03:00
bird_egop 135777a4c6 add varset view 2025-03-01 23:03:13 +03:00
bird_egop 76ef68635e scr reversed type 2025-03-01 22:45:15 +03:00
bird_egop d7eb23e9e0 Implement SCR UI 2025-02-26 04:27:16 +03:00
bird_egop b47a9aff5d Implement scr parsing 2025-02-25 01:51:28 +03:00
bird_egop ba7c2afe2a unknown fixes 2025-02-24 23:35:55 +03:00
bird_egop c50512ea52 add gameobjects view 2024-11-28 05:07:17 +03:00
bird_egop e16b219854 добавил tma в просмотр и отрефакторил код 2024-11-26 04:06:11 +03:00
Bird EgopandGitHub b336f44b72 Update README.md 2024-11-26 01:17:35 +03:00
bird_egop b14742f2cd теперь читает данные о миссии) 2024-11-25 03:37:52 +03:00
bird_egop d1b02ecc67 fix 2024-11-24 21:40:46 +03:00
bird_egop 8590b90bd1 add readme 2024-11-24 21:39:50 +03:00
bird_egop b2010618ee распаковка миссий - tma 2024-11-24 21:16:14 +03:00
bird_egop bba3f2a810 fix color ordering in 4444
fix blur when x2 scale
add TFNT texture open support
2024-11-23 01:32:12 +03:00
bird_egop dd2fce984c view pages 2024-11-19 03:07:58 +03:00
bird_egop a7b653f0b7 добавил фоны 2024-11-19 02:28:49 +03:00
bird_egop 5f84617567 texture viewer 2024-11-19 02:13:14 +03:00
bird_egop 08c8d07d91 texm viewer 2024-11-18 23:48:42 +03:00
bird_egop f9f89d9703 event driven 2024-11-18 18:49:39 +03:00
bird_egop f2632ff583 NL unpacker 2024-11-17 15:54:59 +03:00
bird_egop 3c47549fde add export 2024-11-15 20:29:02 +03:00
bird_egop 465a7cb336 fix 2024-11-15 19:17:57 +03:00
bird_egop 3c26addcee add NRes readme 2024-11-15 19:17:20 +03:00
bird_egop 1091605e2d create NResUI 2024-11-15 19:06:44 +03:00
bird_egop 0c39485188 fix clipping in 4444 2024-11-15 14:58:05 +03:00
bird_egop e429c77bb5 fix color clipping in 565 encoding 2024-11-15 14:54:10 +03:00
bird_egop 9124e6463a nl unpacker 2024-11-15 14:30:06 +03:00
bird_egop f069c54541 add json 2024-11-14 21:53:59 +03:00
bird_egop 08aec8f1f7 init 2024-11-14 12:04:05 +03:00