- #hal
- #android-security
- #android-app-structure
- #key-components-of-manifest-file
- #ipc
- #android-signing
There are lots of command lines which can be used with the Google Chrome browser. Some change behavior of features, others are for debugging or experimenting. This page lists the available switches including their conditions and descriptions. Last automated update occurred on 2018-10-20.
Condition | Explanation |
---|---|
-- | Report pseudo allocation traces. Pseudo traces are derived from currently active trace events. |
--/prefetch:1 | /prefetch:# arguments to use when launching various process types. It has been observed that when file reads are consistent for 3 process launches with the same /prefetch:# argument, the Windows prefetcher starts issuing reads in batch at process launch. Because reads depend on the process type, the prefetcher wouldn't be able to observe consistent reads if no /prefetch:# arguments were used. Note that the browser process has no /prefetch:# argument; as such a |
// To compile: clang++ -arch x86_64 -arch arm64 -std=c++20 library_injector.cpp -lbsm -lEndpointSecurity -o library_injector, | |
// then codesign with com.apple.developer.endpoint-security.client and run the | |
// program as root. | |
#include <EndpointSecurity/EndpointSecurity.h> | |
#include <algorithm> | |
#include <array> | |
#include <bsm/libbsm.h> | |
#include <cstddef> | |
#include <cstdint> |
You might want to read this to get an introduction to armel vs armhf.
If the below is too much, you can try Ubuntu-ARMv7-Qemu but note it contains non-free blobs.
First, cross-compile user programs with GCC-ARM toolchain. Then install qemu-arm-static
so that you can run ARM executables directly on linux
If there's no qemu-arm-static
in the package list, install qemu-user-static
instead
Let's assume we're trying to build chromium with sancov
. Although this is possible purely with gn
arguments, I'll demonstrate this with system toolchain.
First, create a file at out/sancov/args.gn
. The contents of the file should be as follows:
custom_toolchain="//build/toolchain/linux/unbundle:default"
host_toolchain="//build/toolchain/linux/unbundle:default"
is_clang = true
clang_use_chrome_plugins = false
/********************************************************************* | |
* | |
* Name: user.js | brainfucksec | |
* Date: 2024-10-20 | |
* Version: 0.23.0 | |
* Descr.: Mozilla Firefox configuration file: `user.js` | |
* URL: https://gist.github.com/brainfucksec/68e79da1c965aeaa4782914afd8f7fa2 | |
* Maintainer: brainf+ck | |
* | |
* INFO: |
action_pool_depth | |
Current value (from the default) = -1 | |
From //build/toolchain/BUILD.gn:11 | |
Pool for non goma tasks. | |
added_rust_stdlib_libs | |
Current value (from the default) = [] | |
From //build/config/rust.gni:44 |
-
vim terminal mode https://gist.github.com/tin-z/bcca6aa172516a20605c41b05b458e70
- scroll window from a vim spawned terminal
[Ctrl-w + N]
- scroll window from a vim spawned terminal
-
cscope vim shortcuts https://gist.github.com/tin-z/c6ed7b9c55615c2a27d83d41f0916556
-
C++ syntax highlighting https://github.com/bfrg/vim-c-cpp-modern
-
window, tab
- move windows position from left to right
[Ctrl+w] + r
-
- #iot
- #chrome-and-friends: Chrome, V8, Blink, Mojo, etc.
- Linux kernel #todo
- expdev #todo
- fuzzing #todo
PdfLatex is a tool that converts Latex sources into PDF. This is specifically very important for researchers, as they use it to publish their findings. It could be installed very easily using Linux terminal, though this seems an annoying task on Windows. Installation commands are given below.
- Install the TexLive base
sudo apt-get install texlive-latex-base
- Also install the recommended and extra fonts to avoid running into the error [1], when trying to use pdflatex on latex files with more fonts.