Creează un cont pentru a te abona la acest blog și a-i urmări articolele pe pagina Lectură.
-
Overview oci2bin converts any Docker (OCI) container image into a single, self-contained executable.
-
A small tool I built is makethlm, a command-line task runner in the tradition of Make and Just, but where the task body is natural language executed by an LLM.
-
This is part two of the RSA Public Key Manipulation series.
-
This is part one of the RSA Public Key Manipulation series.
-
This is part four of the Certificate Transparency series.
-
This is part three of the Certificate Transparency series.
-
This is part two of the Certificate Transparency series.
-
This is part one of the Certificate Transparency series.
-
1.
-
Below a list of points I believe should be handled when writing shell tools.
-
Refactoring ideas suggested long time ago from previous jobs Libraries are too tightly coupled with each other Libraries should not depend on each other too much, otherwise you have to update all libraries which misses the entire idea of decoupling.
-
Say we want to measure the number of user space instructions a process is spending at a function.
-
Note: This won’t work anymore, Apple has pretty much disabled any ability to work with kernel extensions.
-
The compilers Let’s see if we can crash some compilers. python3 -c "print('{' * 99999)" > test.c && clang test.c Clang SEGFAULT but GCC has made it :)
-
It’s a known fact (at least to me), that static inline functions in C++ will generate multiple instances of a function if used in a different translation unit (a file, why call it differently?).
-
Getting current information Get current task with: #include <kern/task.h> task_t cur_task = current_task(); Get current thread with:
-
Get sleep notification in your IOKit kext IOReturn yourIOKitDriverClass::powerStateHandler(void *target, void *refCon, UInt32 messageType, IOService *service, void *messageArgs, vm_size_t argSize) { IOPMSystemCapabilityChangeParameters * params; if ( me…
-
Introduction If you ever need to debug a newly (Yosemite) OSX kernel using firewire here is a small tutorial to help you through.