Showing only posts in research. Show all posts.

Cheapest Internet + HGTV

A long analysis of how to get HGTV video channel, its Internet provider throughout my house in the cheapest manner possible.

My beautiful wife imposed a lovely request of “I want HGTV” anywhere. Argh. What an exercise in analysis of the current video streaming marketplace.

Here goes.

HGTV is owned …

JavaScript Interpreter Analysis, Mozilla Unified

This article details the analysis of available datum associated with each bytecode of the JavaScript interpreter in Mozilla Unified repo (that is also being used in Firefox).

Datum

The focus of the bytecode interpreter is the loop (INTERPRETER_LOOP() C macro).

Available structures are given in Interpreter() function:

  • Run State machine …

Debugging `jsshell`

This article details how to perfom debugging of the jsshell in Mozilla Unified repository.

Setting Up jsshell Debug

With the js binary built (as described in Firefox JSSHELL, we can then start debugging.

Preparing Work Directory

cd firefox
          mkdir test
          cd test
          DISTDIR=../repo/mozilla-unified/obj-debug-x86_64-pc-linux-gnu/dist/bin/js
          ln …

Mozilla Environment Variables, getting

Everything you need to know about environment variables in the Mozilla Unified repository. Mozilla Unified covers the following applications/products:

  • Firefox
  • Thunderbird

References

  • https://firefox-source-docs.mozilla.org/security/nss/legacy/reference/nss_environment_variables/index.html

Environment Variables

Environment variables are broken up into getting and setting the environment variables.

Setting Environment …

Mozilla Environment Variables, setting

Environment variables that got created (via setenv()) in Mozilla Unified repository, git HEAD branch:

environment variable name description source file
__GL_ALLOW_FXAA_USAGE Set to 0 to temporarily disable the FXAA antialiasing on NVidia drivers. Bug 1714483. build/mach_initialize.py
ANDROID_EMU_VK_NO_CLEANUP This envvar gets created in implementing commands for running and interacting …

Wiping Device Drives Securely

Hidden Partition

Things to do when re-using a hard drive of unknown source (Craig’s List, in my example).

  • Self-Encrypting Drive (SED)
  • ATA Security
    • Unlock the hard drive
    • Check for hidden partition
      • Host Protected Area
      • DCO - Device Configuration Overlay
  • Wipe the hard drive

Self-Encrypting Drive (SED)

Self-encrypting drive have firmware …

Environment Variables for Mozilla Mach

Main

USERNAME uriloader/exthandler/nsExternalHelperAppServer.cpp
USER uriloader/exthandler/nsExternalHelperAppServer.cpp
LOGNAME uriloader/exthandler/nsExternalHelperAppServer.cpp
PATH uriloader/exthandler/unix/nsOSHelperAppServer.cpp, modules/freetype2/builds/unix/ltmain.sh
MOZ_DEFAULT_PREFS modules/libpref/Preferences.cpp
MOZ_ANDROID_CPU_ABI modules/libpref/Preferences.cpp
COMSPEC modules/freetype2/builds/unix/ltmain.sh
JARLOG_FILE build/pgo/profileserver.py …

page 1 | older articles »