- Dissecting Go Binaries
- Go: Overview of the Compiler
- Go compiler internals: adding a new statement to Go - Part 1
- Go compiler internals: adding a new statement to Go - Part 2
- Reversing GO binaries like a pro
- How a Go Program Compiles down to Machine Code
- Analyzing Golang Executables
- Go Reverse Engineering Tool Kit
- go-internals book
- [Reconstructing Program Semantics from Go Binaries](http://home.in.tum.de/
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** @param {NS} ns **/ | |
export async function main(ns) { | |
var paybackLimit = 24 * 60 * 60; | |
var sleepMilliseconds = 5 * 1000; | |
var budgetPercentage = 0.5; | |
while (true) { | |
var budget = ns.getServerMoneyAvailable('home'); | |
budget *= budgetPercentage; //Don't want to spend all money on hacknet, allow 33% but change this if wanted | |
var nodeNumber = ns.hacknet.numNodes(); |