Commit Graph

162 Commits

Author SHA1 Message Date
71cb591368 Remove the ability to support little endian from BigEndianBitConverter. 2019-05-11 20:49:32 +01:00
a77108e7a4 Fix typo in INQUIRY reported size with calculated size. 2019-03-26 19:22:22 +00:00
e2bbb9994f General code refactor and reformat. 2018-12-31 13:17:27 +00:00
06a27f18b0 Update copyright year. 2018-12-29 17:34:38 +00:00
41b16c9a82 Correct file headers. 2018-12-29 15:26:00 +00:00
9ac8f48693 Fix SCSI-ATA-Translation EVPD page. 2018-12-25 14:43:14 +00:00
2519ee2a91 Fix SCSI INQUIRY decoding when length doesn't take in account first bytes. 2018-12-24 04:15:49 +00:00
f9ee7bf764 Fix overflows in ATA and SCSI encoders. 2018-12-23 23:51:40 +00:00
4356625f92 Add encoder for SCSI MODE PAGE 2Ah. 2018-12-23 21:36:55 +00:00
63345257ae Add encoder for SCSI INQUIRY. 2018-12-23 21:36:42 +00:00
e974d43805 Use device report version 2 for the database. 2018-11-26 23:16:54 +00:00
2c409e1217 Code cleanup. 2018-06-22 08:08:51 +01:00
3ec5977783 General refactor. 2018-06-20 22:22:21 +01:00
2b769cbf4b Add several out of bounds and null protections against rogue MMC firmwares. 2018-06-19 21:35:23 +01:00
3718c3024a Correct pretty printing several parameters in MODE headers. 2018-06-15 20:30:04 +01:00
354e31d149 REFACTOR: Final cleanup of DiscImageChef.Decoders. 2017-12-23 18:31:38 +00:00
60ed13e9b3 DOCUMENTATION: DateTime handlers. 2017-12-23 03:59:48 +00:00
8e24002875 REFACTOR: All refactor in DiscImageChef.Decoders. 2017-12-22 02:04:18 +00:00
c47b866af1 REFACTOR: Use string interpolation expression. 2017-12-21 17:58:51 +00:00
9083dc4c30 REFACTOR: Replace if statement with null-propagating code. 2017-12-21 17:45:39 +00:00
9a0259fe5c REFACTOR: Expression is always 'true' or always 'false'. 2017-12-21 17:34:47 +00:00
e1b7618b21 REFACTOR: Removed unneeded pragmas. 2017-12-21 16:14:29 +00:00
5a2b6d8783 REFACTOR: Removed unneeded value sets. 2017-12-21 16:07:20 +00:00
1e1978026f REFACTOR: Remove unneeded code. 2017-12-21 14:30:44 +00:00
3477d3df83 REFACTOR: Unnecessary whitespace removal. 2017-12-21 07:36:47 +00:00
9195c7ea24 Corrected minor bug in decoding SCSI MODE PAGE 00h. 2017-12-21 07:23:50 +00:00
fba01ce718 REFACTOR: Loop can be converted into LINQ-expression. 2017-12-21 07:08:26 +00:00
546a673656 REFACTOR: Invert 'if' statement to reduce nesting. 2017-12-21 06:06:19 +00:00
3523d83424 REFACTOR: Convert 'if' statement to 'switch' statement. 2017-12-21 04:43:29 +00:00
090318d1b0 REFACTOR: Removed reduntant commas. 2017-12-21 02:52:12 +00:00
0c1c20640d REFACTOR: Use preferred braces style. 2017-12-21 02:39:53 +00:00
94f40842f3 REFACTOR: Separate SCSI MODE decoders. 2017-12-21 02:03:21 +00:00
69b66c47f5 REFACTOR: Use preferred braces style. 2017-12-21 00:44:33 +00:00
b897eefa70 REFACTOR: Use preferred braces style. 2017-12-20 23:07:46 +00:00
520e028621 REFACTOR: Remove redundant parentheses. 2017-12-20 17:26:28 +00:00
eff65c4bad REFACTOR: Reformat code. 2017-12-19 20:33:05 +00:00
2b420c3e9a REFACTOR: Sort and removed usings. 2017-12-19 19:33:51 +00:00
ca4223bc08 REFACTOR: Updated comments and copyright date. 2017-12-19 03:51:05 +00:00
299cdaf9e6 Corrected typos in report code that could lead to a partially incorrect device report. 2017-12-18 17:53:04 +00:00
167170c7a5 Corrected typo on SCSI peripheral device types. 2017-12-15 01:14:28 +00:00
67a8803b36 Added support for list-devices on FreeBSD. 2017-12-08 03:19:28 +00:00
a68714308a Check that some drives report an incorrect number of write descriptors
in mode page 2Ah.
2017-09-11 06:02:32 +01:00
cc9793e311 Check for overflow with incorrectly cut mode pages. 2017-09-06 21:12:44 +01:00
f352221221 Check to prevent overflow on cut MMC FEATURES decoding. 2017-09-06 20:48:08 +01:00
592732c3ff Check MMC features length before copying array. 2017-08-22 03:56:58 +01:00
d08c7e280a Added prettyfing of MODE 0Bh.
Added support for MODE 1Ch smaller than what SPC2 says.
2017-06-06 18:17:37 +01:00
e7768839c5 Corrected when EVPD is smaller than length field. 2017-06-03 01:11:51 +01:00
4c677e1b98 Typo. 2017-06-03 01:11:25 +01:00
2cb79bf655 Corrected modes 02h ahd 04h that are smaller than expected. 2017-06-03 01:11:16 +01:00
bbdcf37504 Detect Kreon firmware. 2017-05-23 18:07:25 +01:00