C标准库实现
使用musl libc代替纷杂的glibc
在 System V ABI中记录了,在栈中的数据结构内容。
p33, Figure 3.9 Initial Process Stack
对于注入environ, argc, argv, 都是操作系统放进去的,后续libc只是对于获取这些的地址并进行利用。
CrossEntroyLossFunction
熵的计算方式
H(X)可以描述是否的确定性,H(X)越大代表越不确定,反之则代表越确定。
Cross-Entropy Loss FunctionAlso called logarithmic loss, log loss or logistic loss.
NLP语言模型编写训练建议
Writing a natural language processing (NLP) model in Python can be a complex task, but here are the general steps you can follow:
Define the problem: First, you need to define the NLP problem you want to solve. For example, you may want to classify text into different categories, extract named entities from text, or generate text.
Collect and preprocess data: Next, you need to collect and preprocess the data you will use to train and test your model. This may involve cleaning and normalizing th ...
python_多线程
在Python的多线程中,显然threading库是非常重要的。
有些时候,考虑到多线程需要共享数据结构,故引入queue库
在共享数据结构queue中,使用queue.join()与queue.task_done()共同实现对于数据结构的同步(其中task_done是辅助用于join的同步工作).
如此理解:在C语言中,多线程的同步也是在用join,但是join就是简单的等待线程结束函数执行,但是在python里面,可以提前告知join()结束(使用task_done())。
uuid
UUID 是一个python随机产128bit的uniqure的id的工具
sample code:
123456789import uuid# Generate a random UUIDuuid_value = uuid.uuid4()# Print the UUID valueprint(uuid_value)
RSS
RSS (Rich Site Summary or Really Simple Syndication) is a type of web feed that is used to distribute and share content on the internet. It is a standardized format for delivering content such as news articles, blog posts, podcasts, and videos, among others.
RSS allows websites to publish their content in a structured format, which can be easily read by other applications and services. RSS feeds are usually generated automatically by the website’s content management system or blogging platform, ...
nlp
句法分析Dependency ParsingArc-Eager使用conllu库
2020S&P_javascript_fuzzing
变异阶段构建AST树,独特构建typed-ast,typed-ast注重类型替换
尽量不破坏if, loop, invocation 等strucutre但实际上
Abstract_Interpretation
Source:https://wiki.mozilla.org/Abstract_Interpretation










