[Bug 23816] Multiple .NET applications obfuscated with 'SmartAssembly' fail to run with Wine-Mono (invalid IL code rejected by Mono)
wine-bugs at winehq.org
wine-bugs at winehq.org
Thu Apr 4 17:53:51 CDT 2019
https://bugs.winehq.org/show_bug.cgi?id=23816
Anastasius Focht <focht at gmx.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
URL|http://www.fileplanet.com/2 |https://web.archive.org/web
|16376/download/Bloodline-Ch |/20190404220215/http://down
|ampions-Client |load.fileplanet.com/ftp1/09
| |2010/Bloodline_Champions_Re
| |lease_Installer.exe?st=Zg2N
| |iP2Om5N5uwDy9DB_mg&e=155442
| |5979
Status|NEEDINFO |NEW
Keywords| |obfuscation
--- Comment #30 from Anastasius Focht <focht at gmx.net> ---
Hello folks,
revisiting, still present.
--- snip ---
$ pwd
/home/focht/.wine/drive_c/Program Files (x86)/Stunlock Studios/Bloodline
Champions/Binary
$ tree --charset=ANSI
.
|-- BloodlineChampions.exe
|-- BloodlineChampionsLoader.exe
|-- BloodlineChampionsLoaderUpdater.exe
|-- DbgHelp.dll
|-- libsndfile-1.dll
|-- ortp.dll
|-- vivoxoal.dll
|-- vivoxplatform.dll
`-- vivoxsdk.dll
0 directories, 9 files
$ find . -type f \( -iname "*.dll" -or -iname "*.exe" \) | xargs -i file {} |
grep assembly | cut -f1 -d: | xargs -IX sh -c "echo \"X\" && (hexdump -C \"X\"
| grep BSJB -B0 -C2)"
./BloodlineChampionsLoaderUpdater.exe
0001f270 00 00 00 00 42 53 4a 42 01 00 01 00 00 00 00 00 |....BSJB........|
0001f280 0c 00 00 00 76 32 2e 30 2e 35 30 37 32 37 00 00 |....v2.0.50727..|
0001f290 00 00 06 00 84 00 00 00 20 00 00 00 53 6d 61 72 |........ ...Smar|
./BloodlineChampions.exe
003f3260 00 00 00 00 00 00 00 00 00 00 00 00 42 53 4a 42 |............BSJB|
003f3270 01 00 01 00 00 00 00 00 0c 00 00 00 76 32 2e 30 |............v2.0|
003f3280 2e 35 30 37 32 37 00 00 00 00 06 00 84 00 00 00 |.50727..........|
./BloodlineChampionsLoader.exe
0025cc80 00 00 00 00 42 53 4a 42 01 00 01 00 00 00 00 00 |....BSJB........|
0025cc90 0c 00 00 00 76 32 2e 30 2e 35 30 37 32 37 00 00 |....v2.0.50727..|
0025cca0 00 00 06 00 84 00 00 00 20 00 00 00 53 6d 61 72 |........ ...Smar|
--- snip ---
--- snip ---
$ WINE_MONO_TRACE=program,assembly,wrapper wine ./BloodlineChampions.exe
Unknown heap type: SmartAssembly
[00000009: 0.00000 0] ENTER: <Module>:.cctor ()()
[00000009: 0.00043 1] ENTER: #J.#I:#bOd ()()
[00000009:] EXCEPTION handling: System.InvalidProgramException: Invalid IL code
in #i.#i2:#K (): IL_001b: callvirt 0x0a000c9f
EXCEPTION: catch found at clause 0 of #J.#I:#bOd ()
[00000009: 0.00212 2] ENTER: (wrapper managed-to-native)
object:__icall_wrapper_mono_thread_get_undeniable_exception ()()
[00000009: 0.00234 2] LEAVE: (wrapper managed-to-native)
object:__icall_wrapper_mono_thread_get_undeniable_exception ()[OBJECT:00000000]
[00000009: 0.00248 1] LEAVE: #J.#I:#bOd ()
[00000009: 0.00268 1] ENTER: #m.#l:#bOd ()()
[00000009:] EXCEPTION handling: System.InvalidProgramException: Invalid IL code
in #i.#i3:#K (): IL_0016: callvirt 0x0a000b4b
EXCEPTION: catch found at clause 0 of #m.#l:#bOd ()
[00000009: 0.00292 2] ENTER: (wrapper managed-to-native)
object:__icall_wrapper_mono_thread_get_undeniable_exception ()()
[00000009: 0.00302 2] LEAVE: (wrapper managed-to-native)
object:__icall_wrapper_mono_thread_get_undeniable_exception ()[OBJECT:00000000]
[00000009: 0.00311 1] LEAVE: #m.#l:#bOd ()
[00000009:] EXCEPTION handling: System.InvalidProgramException: Invalid IL code
in #c.#b:#bOd (): IL_0005: bne.un.s IL_000e
--- snip ---
$ sha1sum Bloodline_Champions_Release_Installer.exe
a64155f41885e67c93e804a3b463e44782b328e0
Bloodline_Champions_Release_Installer.exe
$ du -sh Bloodline_Champions_Release_Installer.exe
282M Bloodline_Champions_Release_Installer.exe
$ wine --version
wine-4.5-185-g17056908ac
Regards
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
More information about the wine-bugs
mailing list