frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Electrobun

https://blackboard.sh/electrobun/docs/
1•handfuloflight•3m ago•0 comments

After 3 yrs of forcing myself to love VC, I quit and became a DJ in Bali

https://www.businessinsider.com/left-venture-capital-career-to-become-silent-disco-dj-bali-2026-2
1•rafaepta•8m ago•0 comments

Ganttdown: Turn Markdown task lists into Gantt charts instantly

https://ganttdown.vercel.app/
2•sssecasiu•8m ago•1 comments

Pthinc/BCE-Prettybird-Micro-Standard-v0.0.1

https://huggingface.co/datasets/pthinc/BCE-Prettybird-Micro-Standard-v0.0.1
1•pthuser•8m ago•0 comments

Without America to rely on, EU gearing up to be a global power in its own right

https://www.theatlantic.com/international/2026/02/european-union-defense-spending/685983/
1•saubeidl•10m ago•0 comments

What Does AI Think about the Kung Fu Robot Show in the Chinese New Year Gala?

https://poe.com/s/PSuM9UlCSlNtWTmnHQEh
1•seekdeep•10m ago•1 comments

os: An operating system for the IBM PC written in machine code

https://github.com/jpcregan/os
1•hexer292•11m ago•1 comments

Show HN: Axon – Open-source agentic AI with approval gates (Apache 2.0)

https://github.com/NeuroVexon/axon-community
1•NeuroVexon•11m ago•1 comments

Freedom Is Coming

https://freedom.gov
2•seanweng•13m ago•1 comments

ShannonMax: A Library to Optimize Emacs Keybindings with Information Theory

https://github.com/sstraust/shannonmax
2•sammy0910•14m ago•0 comments

Stock Slide and Slow Sales: What's Happening in China's E.V. Market?

https://www.nytimes.com/2026/02/19/business/china-electric-vehicle-troubles.html
1•ilamont•14m ago•0 comments

Show HN: Clipthesis – free, local app to tag and search video across your drives

https://clipthesis.com/
1•hugorut•14m ago•0 comments

Former Prince Andrew Arrested over Epstein Probe

https://www.wsj.com/world/uk/former-prince-andrew-arrested-over-epstein-probe-bbc-reports-7779cc1e
3•KoftaBob•16m ago•0 comments

Show HN: Aegis.rs, the first open source Rust-based LLM security proxy

https://github.com/ParzivalHack/Aegis.rs
1•ParzivalHack•18m ago•0 comments

Show HN: I built a compliance scanner that flags WCAG GDPR and FTC risks in mins

https://www.rataify.com/
1•CraftyGuru•18m ago•0 comments

A Theoretical View on 'Something Big Is Happening'

https://telemetryagent.dev/blog/theoretical-view-something-big
1•martvdjagt•19m ago•0 comments

Bridging Elixir and Python with Oban

https://oban.pro/articles/bridging-with-oban
3•sorentwo•22m ago•0 comments

Show HN: What We Learned: a 3 question meeting closure tool

https://www.cognu.app/what-we-learned
1•anticlickwise•23m ago•0 comments

A Technical Intro to the Fediverse

https://www.krisdigital.com/en/blog/2026/02/18/technical-intro-fediverse/
1•krisdigital•24m ago•1 comments

Show HN: Schema Sentry – Type-Safe JSON-LD for Next.js with CI-Grade Validation

https://github.com/arindamdawn/schema-sentry
1•arindamdawn•24m ago•0 comments

Show HN: Elecxzy – A lightweight, Lisp-free Emacs-like editor in Electron

https://github.com/kurouna/elecxzy
1•kurouna•24m ago•0 comments

Europe Worries About Another Trump Blowup, This One on Tech

https://www.nytimes.com/2026/02/19/world/europe/europe-united-states-trump-digital-services-act.html
2•Doches•26m ago•1 comments

Show HN: Marketplace for Requesting Intelligence via Bounties

https://getintelligence.space
1•Mapamapa•27m ago•0 comments

Show HN: OctoGames – Free Browser Games Hub

https://octogames.io/http://localhost:45678/
1•yevhenms•29m ago•0 comments

Pg-here: Run a local PostgreSQL instance in your project folder with one command

https://github.com/mayfer/pg-here
1•todsacerdoti•29m ago•0 comments

First Five Days with Gremlin My OpenClaw Assistant

https://peebs.org/gremlin-improvements/
1•nemesisj•30m ago•1 comments

I made ChatGPT and Google tell I'm a competitive hot-dog-eating world champion

https://bsky.app/profile/thomasgermain.bsky.social/post/3mf5jbn5lqk2k
19•doener•33m ago•3 comments

Show HN: A physically-based GPU ray tracer written in Julia

https://makie.org/website/blogposts/raytracing/
2•simondanisch•34m ago•0 comments

Experimenting with sponsorship for my blog and newsletter

https://simonwillison.net/2026/Feb/19/sponsorship/
1•Cyphase•35m ago•0 comments

Taming the Beast: Comparing Jsonnet, Dhall, Cue

https://pv.wtf/posts/taming-the-beast
1•ahamez•35m ago•0 comments
Open in hackernews

Ask HN: Help with doing statistics over machine code

2•phafu•9mo ago
I'd like to do some statistics over the machine code gcc generates, such as a histogram of used instructions, average volatile/preserved registers usage of functions etc. For now just x86_64 SysV-ABI would be enough.

However I'm not aware of any pre-existing tool that lets me easily do this. The options I currently see are either make gcc output assembly and write a parser for the GNU Assembler format (possibly by reusing the asm-parser of the compiler-explorer project), or write a tool that reads (disassembles) object files directly using elfutils.

Any hints, prior work, further ideas, links to useful resources, or any other kind of help would be much appreciated.

Comments

baobun•9mo ago
"Static analysis" should be a relevant search term. Assuming you don't need to tie the instructions back to C code then the "gcc" part seems circumstancial for implementation? I guess you might want to parse the ASM into an Abstract Syntax Tree (AST) represenation and work on that?

If you do want to tie it back to the source, this looks relevant: http://icps.u-strasbg.fr/~pop/gcc-ast.html

phafu•9mo ago
For my purpose I don't need to get back to the original source, no.

The gcc part is only relevant with regards to what dialect of assembler I need to parse. If I go that route, I'd write a parser for the GNU assembler, and that would of course work with any code in that dialect, regardless from which compiler it came from (I haven't checked whether other compilers can produce GNU assembler though).