canyie channel


Kanal geosi va tili: ko‘rsatilmagan, ko‘rsatilmagan
Toifa: ko‘rsatilmagan


贴贴

Связанные каналы  |  Похожие каналы

Kanal geosi va tili
ko‘rsatilmagan, ko‘rsatilmagan
Toifa
ko‘rsatilmagan
Statistika
Postlar filtri










“做了这么多年安卓”


这种开发者应该被挂上耻辱柱


canyie dan repost
Google 质量






https://cs.android.com/androidx/platform/frameworks/support/+/androidx-main:core/core/src/main/java/androidx/core/os/ProcessCompat.java;l=108;bpv=1;bpt=0

androidx 的兼容方法 ProcessCompat.isApplicationUid(int) 在 API 17-23 上看起来漏了一个 return ,会丢掉已经获取到的结果,固定返回 true;API 16 工作正常。


不行了,我得去洗洗眼睛


Noma’lum dan repost
#define INIT_S() do { \
(*(struct lineedit_statics**)not_const_pp(&lineedit_ptr_to_statics)) = xzalloc(sizeof(S)); \
barrier(); \
} while (0)


canyie dan repost
(lldb) bt
* thread #1, name = libbusybox.so, stop reason = signal SIGSEGV: invalid address (fault address: 0x8)
* frame #0: 0x000000000043b5b4 libbusybox.soread_line_input(st=0x0000007703021000, prompt="\w \$ ", command="", maxsize=1024) at lineedit.c:2395:16
frame #1: 0x000000000049c61c libbusybox.sopgetc at ash.c:10618:8
frame #2: 0x000000000049c5e4 libbusybox.sopgetc [inlined] preadbuffer at ash.c:10720
frame #3: 0x000000000049c560 libbusybox.sopgetc at ash.c:10803
frame #4: 0x000000000049c7a4 libbusybox.sopgetc_eatbnl at ash.c:10845:14
frame #5: 0x000000000049d620 libbusybox.soxxreadtoken at ash.c:12945:7
frame #6: 0x000000000049cafc libbusybox.soreadtoken at ash.c:13056:6
frame #7: 0x000000000049c98c libbusybox.solist(nlflag=1) at ash.c:11588:11
frame #8: 0x00000000004920bc libbusybox.socmdloop(top=1) at ash.c:13337:7
frame #9: 0x0000000000491924 libbusybox.soash_main(argc=, argv=) at ash.c:14535:3
frame #10: 0x00000000004357f8 libbusybox.sorun_applet_no_and_exit(applet_no=259, name="sh", argv=0x0000007ffa7db8d0) at appletlib.c:1004:23
frame #11: 0x00000000004358a0 libbusybox.sorun_applet_and_exit(name="sh", argv=0x0000007ffa7db8d0) at appletlib.c:1022:4
frame #12: 0x0000000000435c2c libbusybox.sobusybox_main(argv=) at appletlib.c:965:2
frame #13: 0x00000000004358a8 libbusybox.sorun_applet_and_exit(name="busybox", argv=0x0000007ffa7db8c8) at appletlib.c:1015:8
frame #14: 0x0000000000435868 libbusybox.somain(argc=, argv=) at appletlib.c:1159:2
frame #15: 0x00000000004e3f8c libbusybox.so__real_libc_init(raw_args=, onexit=, slingshot=(libbusybox.so`main at appletlib.c:1068), structors=0x0000007ffa7db890, temp_tcb=)(), int (*)(int, char**, char**), structors_array_t const*, bionic_tcb*) at libc_init_static.cpp:202:8


busybox 内置一个神奇优化,把一些变量声明成 const 然后用魔法去改,但是改变 const 在 c 里是 ub,编译器不知道数据依赖关系,会把代码优化成会崩溃的形式…




canyie dan repost
/* We use a trick to have more optimized code (fewer pointer reloads):
* ash.c: extern struct globals *const ash_ptr_to_globals;
* ash_ptr_hack.c: struct globals *ash_ptr_to_globals;
* This way, compiler in ash.c knows the pointer can not change.
*
* However, this may break on weird arches or toolchains. In this case,
* set "-DBB_GLOBAL_CONST=''" in CONFIG_EXTRA_CFLAGS to disable
* this optimization.
*/


canyie dan repost


世界上有这几种“技术分享博客”:
1.质量高,数量多
2.质量高,数量少
3.质量尚可
4.什么都不发
5.质量低到要命,拿自己臆想出来的东西当圣经或者到处乱转别人的东西还不标出处,数量跟癌细胞一样疯狂增长,还随便拿别人的东西卖钱,恶意污染搜索引擎


我求求某些地方不会写程序就不要写,找外包就找靠谱点的,多给点钱要不然就别赶鸭子上架,做出来的app自己试一下再强制安装,用十秒能出来十五个bug;还有那些外包公司,不知道是看的cxxn还是什么鬼才能写出这种app,官方文档不会看吗,一点点英文不会用翻译软件吗,人话都看不懂就不要出来丢人现眼,sdk能加就加后台跑一堆组件在那耍流氓,正经事不敢检测修改最勤快,系统是我自己改代码我自己编译的和你没有半毛钱关系,知道这个app是强制安装还检测出来修改就不让用;还有某个国内审核最严格的应用市场,你们的审核呢??这种质量也敢放上去??三边都觉着能用就行然后导致从审核严格的应用市场下载到的强制安装的app结果却是质量低下让全省乃至全国人民一起看着丢人现眼的玩意???


canyie dan repost
妙呀,之前我遇到的那个 raise(SIGSTOP) 停不下来的问题是另一个bug(应该算bug吧)

20 ta oxirgi post ko‘rsatilgan.

23

obunachilar
Kanal statistikasi