madandan888-star and Claude Opus 4.6
9db2ca38f5
fix: add try-catch to upload hooks to prevent WeChat crash on manual image send
...
The `attachUploadMedia`, `attachGetCallbackFromWrapper`, and
`uploadOnCompleteAddr` hooks call `readPointer().readUtf8String()` which
can access invalid memory when triggered by normal WeChat image sends
(not API-initiated), causing WeChat to crash immediately.
Wrapping each hook's onEnter body in try-catch prevents the crash while
preserving all functionality. In the catch path, `uploadGlobalX0` is
still captured to ensure subsequent API uploads work correctly.
Tested on WeChat 4.1.7 build 34888 (macOS arm64) with v0.0.8 binary.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-20 19:29:51 +08:00
yincong
2f263f4ef6
finish 8.28
2026-03-20 09:29:54 +08:00
yincong
5671f4d8b8
format
2026-03-18 09:44:50 +08:00
yincong
9fe5bda990
fix concurrency
2026-03-17 10:13:39 +08:00
yincong
e9b58f3260
finish video
2026-03-16 14:54:25 +08:00
yincong
4557a6ceb1
finish video
2026-03-16 13:58:29 +08:00
yincong
bc86b51cea
fix format
2026-03-16 10:04:40 +08:00
yincong
b0ca674eea
fix bug
2026-03-15 20:10:44 +08:00
yincong
42a10fb306
receive video
2026-03-13 13:29:10 +08:00
yincong
eb4c1c2e0e
support send file
2026-03-12 18:06:30 +08:00
yincong
bcac8ae75d
fix image crash
2026-03-12 09:28:13 +08:00
yincong
a304c7e92a
fix text crash and auto find pid
2026-03-09 10:35:52 +08:00
yincong
0ccde39dc2
text crash
2026-03-07 14:38:09 +08:00
yincong
218446256b
hd file
2026-03-06 10:30:00 +08:00
yincong
f33bc5c18d
update log
2026-03-04 16:17:41 +08:00
yincong
62ff76bb39
add image
2026-03-04 09:35:56 +08:00
yincong
b4a8be7d5f
add audio
2026-03-02 11:56:50 +08:00
yincong
ea88d786e1
update receiver
2026-02-28 09:38:48 +08:00
yincong
f4fd1271be
support openclaw
2026-02-27 10:14:47 +08:00
yincong
6ba22acc8d
support openclaw
2026-02-27 09:38:20 +08:00
yincong
e9abe629dc
update 4.1.7.55
2026-02-25 10:47:52 +08:00
yincong
9dc9b9a982
finish upload image
2026-02-10 12:32:36 +08:00
yincong
9cc0e10fcc
init
2026-02-07 16:14:20 +08:00
yincong
2591003ce7
add 4.1.7 image
2026-02-05 15:25:48 +08:00
yincong
13e11fa270
4.1.7
2026-02-04 09:57:16 +08:00
yincong
24ef8b8dd3
add at info
2026-01-23 10:57:09 +08:00
yincong
d2117643a7
add random id
2026-01-22 09:32:12 +08:00
yincong
30172043f0
add some random id
2026-01-21 10:00:04 +08:00
yincong
2157ef8203
add onebot doc
2026-01-20 10:32:57 +08:00
yincong
88a3463441
update script
2026-01-19 12:46:05 +08:00
yincong
abfada6c0f
finished
2026-01-19 10:00:05 +08:00
yincong
1dde1d6f76
finished
2026-01-18 13:07:00 +08:00
yincong
0a329f3686
close finished
2026-01-18 12:38:11 +08:00
yincong
9f36cacb45
finished
2026-01-16 16:03:50 +08:00
yincong
4e787bc021
support image
2026-01-16 12:23:59 +08:00
yincong
2411296707
fix startup hang up
2026-01-15 18:45:02 +08:00
yincong
c4806c4c3b
merge text and img
2026-01-15 18:21:46 +08:00
yincong
74c62b3ec1
splite file
2026-01-15 13:51:53 +08:00
yincong
5fa73bf622
send image succ
2026-01-12 14:46:10 +08:00
yincong
377a5bdd0d
update image
2026-01-09 14:34:53 +08:00
yincong
653c2cd432
add image
2026-01-08 21:01:33 +08:00
yincong
416333d46a
finish wechat 46
2026-01-08 17:50:07 +08:00
yincong
aecd92b1a7
update to 4.1.6.47
2026-01-07 19:59:53 +08:00
yincong
97efbb9026
update chatroom
2026-01-06 12:50:35 +08:00
yincong
be80debbb9
use json
2026-01-04 15:03:20 +08:00
yincong
dbaee7b446
finish
2026-01-04 14:48:41 +08:00
yincong
2745a1e8d8
fix bug
2025-12-31 17:27:26 +08:00
yincong
999c89f785
final
2025-12-31 14:05:21 +08:00
yincong
e2d898666e
long text
2025-12-31 10:48:06 +08:00
yincong
d4bd385ea3
add frida http
2025-12-30 12:17:41 +08:00