Better HN
topnewbestaskshowjobs
Log inSign up

devinvs

30 karma · joined Feb 25, 2022 (4y ago) · 5 submissions

interests: reverse engineering, compilers, linux email: devin@vstelt.dev
Submissions

1.

Privacy Respecting Age Controls(gist.github.com ↗)

1 points · by devinvs · 8mo ago · 1 comment

comment 8mo ago · link · parent

x86_64 function arguments in linux are passed in registers RDI, RSI, RDX, RCX, R8, R9. The mnemonic helps remember the order.

comment 1y ago · link · parent

I might be misunderstanding, but this seems very wrong. your method on the first entry:

  10011011010100101100001101010000
  year = 101 00 (20? year should be 25 or 2025)
  month = 1001 (9, but month is Nov)
  day = 1001 (9, not enough bits to encode large days)
  hour = 01 1 or 01 11 (3, 7, or 14 reversed, should be 11)
  no minute field

comment 1y ago · link · parent

my best shot at it:

  year:   bits 0-6 reversed
  month:  bits 6-10 reversed
  hour:   bits 13-18
  minute: bits 18-24
  day:    bits 24-29 (maybe reversed)
unsatisfyingly I don't have any idea what the gaps are or why parts need to be reversed, so i could be wrong. With the data from the post:

  y  mo d  h  mi
  25 11 10 11 3
  25 11 10 11 31
  25 11 10 12 1
  25 11 10 12 35
  25 11 10 13 0
  25 11 10 13 31
  25 11 10 13 31
  25 11 10 14 0

comment 1y ago · link · parent

looks like it's this: https://git.mitxela.com/web-git-sum