汇编文件中的CFI指令
这篇文章CFI directives in assembly file (18 Jan 2017), 是出自google 工程师Adam Langley - ### 函数调用栈 函数调用中 调用call指令时将call指令的下一条指令 return address 入栈, 其中return…
这篇文章CFI directives in assembly file (18 Jan 2017), 是出自google 工程师Adam Langley - ### 函数调用栈 函数调用中 调用call指令时将call指令的下一条指令 return address 入栈, 其中return…
本篇主要通过反汇编与GDB两种方式分析函数栈的使用过程。
pid: 进程ID - tid:线程ID - tgid:主线程ID
Given a positive integer _n_, find the least number of perfect square numbers (for example, 1, 4, 9, 16, ...) which sum to _n_. Example 1: Input: _n_ = Output…
Linux task_struct 结构中 涉及进程状态的属性有三个,其中进程对应的状态分为两类, 一类是运行中状态, 另一类是进程退出状态。
这篇文章 Delightful User Interfaces: Easter Eggs 是出自 Netflix
在上网下载镜像或安装文件时经常会看到MD5,SHA-1,SHA-256 ,signature,一起显示,这些文件帮助我们验证下载的文件是否损坏或者被篡改以及文件的真实性, 散列值可以使用windows, macOS,Linux内置命令进行验证。 文件签名可以使用工具gpg进行校验。
You have a lock in front of you with circular wheels. Each wheel has slots: '0', '1', '2', '3', '4', '5', '6', '7', '8', '9'. The wheels can rotate freely and…
这篇文章 Predictive CPU isolation of containers at Netflix
并发(concurrency):实际上串行发生的事情好像同时发生,表述了单核处理器中线程或者进程的行为特点 - 并行(parallelism):并发序列同时执行, 真正的并行只能在多处理其上存在。 异步(asynchronous)与同步(synchronous)区别在于发需求的人是否需要等到需要完成才可以执行其他事情。…