Skip to content

Instantly share code, notes, and snippets.

@jwbee
jwbee / readme.md
Last active October 15, 2022 03:44
Help me identify possible tracking device found in my car

Help me identify possible tracking device found in my car

TL;DR

I found a non-OEM electronic gadget in my car. It is wired into the ignition, and contains a 435.10 MHz radio reciever, a microcontroller, and two relays. I suspect it might be a device that allows third parties to unlock the doors and start the car with a radio.

Details

I was driving my 2020 Honda Insight EX when it started to make the annoying sound of an electromechanical relay rapidly switching on and off. When I got home I looked under the dash and straight away I could see someone other than Honda had been in here. The first thing I saw was this surface-mounted switch that doesn't belong there.

@jwbee
jwbee / huge function.txt
Created September 11, 2020 02:30
An enormous function
0000000000000000 <absl::str_format_internal::Summarize[abi:cxx11](absl::str_format_internal::UntypedFormatSpecImpl, absl::Span<absl::str_format_internal::FormatArgImpl const>)>:
0: f3 0f 1e fa endbr64
4: 55 push %rbp
5: 48 89 e5 mov %rsp,%rbp
8: 41 57 push %r15
a: 41 56 push %r14
c: 41 55 push %r13
e: 49 89 f5 mov %rsi,%r13
11: 41 54 push %r12
13: 53 push %rbx
/* result */
$ go test -test.bench=. -test.cpu=1,2,4,8 -test.benchtime=10s .
goos: linux
goarch: amd64
BenchmarkAdd 1000000000 6.97 ns/op
BenchmarkAdd-2 532704848 21.1 ns/op
BenchmarkAdd-4 675975466 17.8 ns/op
BenchmarkAdd-8 767997027 15.7 ns/op
BenchmarkCASPause 1000000000 8.92 ns/op
BenchmarkCASPause-2 1000000000 8.92 ns/op