Daniel Scharrer
f71ad5e7f9
Update copyright years
7 years ago
Daniel Scharrer
641fc95f04
Update copyright years
7 years ago
Daniel Scharrer
c85ff1e837
offsets: Don't abort on loader magic or checksum mismatch
8 years ago
Daniel Scharrer
b95dad75a5
offsets: Add additional loader magic variant
...
This is used in CryptoSocket 1.0.11.1220 available from here:
https://mhelp.kz/crypto-socket/
Fixes: issue #66
8 years ago
Daniel Scharrer
0b1678411a
[clang-tidy] offsets: Remove redundant static keyword
8 years ago
Daniel Scharrer
2c827154cd
Update copyright lines
11 years ago
Daniel Scharrer
3896878433
Improve error and warning messages
11 years ago
Daniel Scharrer
50bb46478c
Make local version arrays static
12 years ago
Daniel Scharrer
6f5befccd9
loader: Add support for NE executables
...
Also add functions to get the file version number from NE, LE and PE
binaries.
12 years ago
Daniel Scharrer
aa444bcfb9
Fix warnings with older Boost version
...
Apparently boost::size(array) used to be signed :(
13 years ago
Daniel Scharrer
43507ffac9
Rename util.hpp to math.cpp
...
And get rid of ARRAY_SIZE completely.
13 years ago
Daniel Scharrer
26989e65bd
Replace ARRAY_SIZE with boost::size where possible
...
Remaining uses need a constexpr value.
13 years ago
Daniel Scharrer
08f5036ec7
Cleanup loading functions
...
- Remove configure-time endianness check
(replaced by run-time check to be optimized out by the compiler)
- Move loading functions into the util namespace
- Only keep the setup header entries we actually need
13 years ago
Daniel Scharrer
1a986a8709
Fix MSVC 9 build
13 years ago
Daniel Scharrer
e656af214e
Mark size_t -> std::streamsize conversions
13 years ago
Daniel Scharrer
0d17b5a121
Document loader::offsets
14 years ago
Daniel Scharrer
4d423f27ac
Add copyright notices.
14 years ago
Daniel Scharrer
eba41e0f51
Cleanup setup header loading, implement version number parsing.
15 years ago
Daniel Scharrer
6a4e07b2c7
Start cleaning up setup header parsing code.
15 years ago
Daniel Scharrer
cc12c82dd6
Cleanup loader sources.
15 years ago
Daniel Scharrer
af38c3c859
Cleanup crypto code.
15 years ago
Daniel Scharrer
8fcbdff79c
Improve output.
15 years ago
Daniel Scharrer
3b29b8c4c1
Cleanup utils.
15 years ago
Daniel Scharrer
bdfa8ddc9b
Many fixes.
15 years ago
Daniel Scharrer
94b9c3dc31
Fix some endianness and aliasing issues.
15 years ago
Daniel Scharrer
1e554c0954
Add a progress bar, support split (multifile) installer.
15 years ago
Daniel Scharrer
3579d2fba5
A lot of progress.
15 years ago
Daniel Scharrer
bcf754896b
Rewrite the setup loader, begin slice and chunk reader implementation.
15 years ago
Daniel Scharrer
0e0cb08746
Parse file entries.
15 years ago
Daniel Scharrer
13925809e4
The header is loaded.
15 years ago
Daniel Scharrer
caa7565edf
Some crazy experiments.
15 years ago
Daniel Scharrer
0674a22261
More progress, now using boost!
15 years ago
Daniel Scharrer
f42af9e0da
Initial commit.
15 years ago