调试笔记
调试九法 -> 规则和小故事软件调试实战https://www.debugging-guide.com/tools
Memory error checking in C and C++: Comparing Sanitizers and Valgrindhttps://developers.redhat.com/blog/2021/05/05/memory-error-checking-in-c-and-c-comparing-sanitizers-and-valgrind
debug_note.mdhttps://www.sourceware.org/gdb/documentation/https://lldb.llvm.org/https://lldb.llvm.org/use/map.html
-static-libstdc++会导致gdb的-enable-pretty-printing失效https://codeyarns.com/tech/2014-07-17-how-to-enable-pretty-printing-for-stl-in-gdb.html
https ...
Confluence配置
https://www.atlassian.com/zh/software/confluence/download-archives
https://blog.csdn.net/RAPTORHAWK/article/details/115679891
https://zhile.io/2018/12/20/atlassian-license-crack.html
C:\Program Files\Atlassian\Confluence\startup_bundled_jre.batset JAVA_OPTS=-javaagent:”C:\Users\wurui\Downloads\atlassian-agent.jar”java -jar /Users/wurui/Downloads/atlassian-agent-v1.3.1/atlassian-agent.jar -p conf -m test@cn -n wurui -o xxxxx -s BA2Y-OVOF-PFI2-YALD
macOS内核
macos_kernel.mdhttps://github.com/maurice-schuppe/flockflockhttps://github.com/jzlka/macOS-monitoring-API-demos
macOS下Kext notarizationhttps://blog.csdn.net/tanhuang614/article/details/100552285
open /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks
cp -R test.kext hello.kextsudo chmod -R 755 hello.kextsudo chown -R root:wheel hello.kext
cp -R FlockFlock.kext tmp.kex ...
IPC相关
Mach IPCMach IPC –> XPC/GCDbootstrap_register/bootstrap_look_up比https://github.com/goldsborough/ipc-bench.git实现的shm快可能原因?1.shm的原子等待不高效 2.内核优势和其他优化
Windows ALPCLinux DBus(user)/KDBus(kernel) –> BUS1 https://bus1.org/bus1.htmlhttps://gitlab.freedesktop.org/dbus/dbushttps://github.com/bus1/dbus-broker
https://wxdublin.gitbooks.io/deep-into-linux-and-beyond/content/ipc.html谈到了Android/macOS/Linux
chrome Mojo IDLfirefox IPDLhttps://searchfox.org/mozilla-central/source/ip ...
并发相关
https://www.boost.org/doc/libs/1_79_0/libs/context/doc/html/context/performance.htmlhttps://www.boost.org/doc/libs/1_79_0/libs/fiber/doc/html/fiber/overview/implementations__fcontext_t__ucontext_t_and_winfiber.html
完成了boost.asio boost.beast boost.fiber基于work_stealing调度模型的整合
sched_yield()和nanosleep()对进程调度的影响https://www.cnblogs.com/arnoldlu/p/11287972.html
std::this_thread::yield()使用理解https://blog.csdn.net/liuhhaiffeng/article/details/52604052
12345// while(1) std::this_thread::yield();// t1 ...
Go语言学习
https://studygolang.com/articles/7087
12345678910111213export GOPATH=~/gogit clone https://github.com/golang/net.git $GOPATH/src/github.com/golang/netgit clone https://github.com/golang/sys.git $GOPATH/src/github.com/golang/sysgit clone https://github.com/golang/tools.git $GOPATH/src/github.com/golang/toolsln -s $GOPATH/src/github.com/golang $GOPATH/src/golang.org/xexport http_proxy="localhost:1088"export https_proxy="localhost:1088"rm -rf ~/Library/Caches/go-buildgo build -a ...
矢量图相关
nanovg_note.md
https://www.lmlphp.com/user/7394/article/item/356509/NanoVG 优化笔记:性能提高5倍的秘密
https://github.com/memononen/nanovghttps://github.com/cmaughan/nanovg D3D Porthttps://github.com/ollix/MetalNanoVG Metal Porthttps://github.com/bkaradzic/bgfx/tree/master/examples/20-nanovg bgfx port
https://zhuanlan.zhihu.com/p/372966867从0打造体积小于300K硬件加速类似Skia的矢量渲染器
Parser相关
parser_note.mdhttps://github.com/lark-parser/lark
mfcalcturtle dsljson parserhttps://github.com/d4v3y/bisonJsonParser
parser generatormath parsermuparser
lemonbyaccnyacc –> guilebtyacc
lark –> python (early/lalr)happy –> haskellantlr –> java(ll(k))javacc
ANTLR4 & C++https://zhuanlan.zhihu.com/p/240229064
A LALR(1)/LL(1)/LL(K) parser generator for javascript/typescripthttps://github.com/yiminghe/kison
https://github.com/phorward/uniccLALR parser generator targe ...
Tracy分析
tracy -> Frame profiler
System Trace
win32LookupPrivilegeValue –> SE_SYSTEM_PROFILE_NAME ETW??ControlTrace/StartTrace/OpenTrace/CloseTraceRtlWalkFrameChain
linuxperf_eventsyscall –> __NR_perf_event_open_Unwind_Backtrace
macOS未支持 kdebug?backtrace –> execinfo.h
Same as https://github.com/google/orbitC/C++ Performance Profilerwin32 trace -> KrabsTracer.hDiaSdk/krabsetw/PresentMon其中后两者有tracehttps://github.com/google/orbit/tree/main/src/WindowsTracinglin ...
macOS密码分析
https://blog.csdn.net/taoyanqi8932/article/details/51945122 《UNIX环境高级编程》–6系统数据文件和信息https://unix.stackexchange.com/questions/373309/mac-os-command-to-resolve-hostnames-like-getent-on-linuxhttps://superuser.com/questions/592921/mac-osx-users-vs-dscl-command-to-list-user
dscl . -list /Usersdscl . -readall /Usersdscl . -read /Users/wurui AuthenticationAuthority
sudo plutil -extract ShadowHashData xml1 /var/db/dslocal/nodes/Default/users/wurui.pl ...