frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Using Jev in Domain Abuse Review: A Workflow Design

https://abtdomain.com/blog/2026/10/using-jev-in-domain-abuse-review-a-workflow-design/
1•ABTdomain•2m ago•0 comments

Texas Two-Step Bankruptcy

https://en.wikipedia.org/wiki/Texas_two-step_bankruptcy
2•thelastgallon•12m ago•0 comments

What LangGraph Builds: Runnables, Channels, Bubble-Up, Agents and Deep Agents

https://www.tamirdresher.com/blog/2026/10/10/what-langgraph-actually-builds
1•tamirdresher1•12m ago•0 comments

ShareBox – share the web tools your AI agent builds, like a Google Doc

https://github.com/zalaso/sharebox
1•zalaso•13m ago•0 comments

Show HN: A Simple Server for Matching Long/Lat to a Timezone

https://github.com/LittleGreenViper/LGV_TZ_Lookup
1•ChrisMarshallNY•13m ago•0 comments

AI Driving Game Demo Forces Developer to Take Out Bank Loan to Keep It Running

https://www.ign.com/articles/ai-driving-game-demo-bank-loan
2•pavel_lishin•16m ago•0 comments

China's Weaponization of Dual-Use Research Vessels for Undersea Data Dominance

https://www.csis.org/analysis/chinas-weaponization-dual-use-research-vessels-undersea-data-dominance
1•Teever•18m ago•0 comments

Cloudflare puts audio and video into its decision model with Clef-Omni

https://runtimewire.com/article/cloudflare-clef-omni-multimodal-decision-model
2•antimora•21m ago•0 comments

DHS Intimidates a Border Tribe with Surveillance, Masked Agents and Drones

https://www.propublica.org/article/tohono-oodham-nation-arizona-border-wall
1•hn_acker•21m ago•1 comments

Is AI eating digital marketing too?

https://medium.com/@whurthay/ai-is-automating-marketings-feedback-loop-2da124ead7f8
1•developeron29•21m ago•0 comments

America.gov: Branding in Search of a Product

https://donmoynihan.substack.com/p/americagov-branding-in-search-of
1•hn_acker•22m ago•0 comments

Trump: Ukraine should get a new president, blames Zelenskyy for US diesel prices

https://apnews.com/article/russia-ukraine-war-trump-putin-diesel-228ccf74b2848c1ff0ac23f038b37512
4•jacquesm•24m ago•0 comments

Concrete Lessons from Conway's Game of Life

https://mathemichel.substack.com/p/concrete-lessons-from-conways-game
1•birdculture•25m ago•0 comments

DigUp: Search files on Mac by what's in them, using EmbeddingGemma 2

https://github.com/ARahim3/DigUp
1•AbuAssar•26m ago•0 comments

Agentic Item Lifecycle (AILC)

https://pullboard.dev/how/
1•Olscore•26m ago•0 comments

Apple may have an iPhone 18 Pro demand problem

https://www.androidauthority.com/iphone-18-pro-sales-3721452/
2•raffael_de•27m ago•0 comments

Vibe coded browser ports of Halo, The Simpsons: Hit And Run, GTA work well

https://kotaku.com/we-might-be-cooked-as-these-vibe-coded-web-browser-ports-of-halo-the-simpsons-...
6•astlouis44•28m ago•0 comments

Anthropic discloses 2 months old fake tip to police among new rogue AI incidents

https://www.reuters.com/world/us/anthropic-ai-model-submits-false-homicide-tip-police-website-202...
13•guessmyname•29m ago•0 comments

In agentic programming how do you handle follow up task

1•kaizencode•30m ago•0 comments

Why DuckDB 2.0 is faster

https://motherduck.com/blog/why-duckdb-20-is-faster/
1•tosh•31m ago•0 comments

Show HN: A functioning Celery Man computer

https://celeryman.fun/
7•turtlesoup•31m ago•0 comments

Show HN: Site is OK – website diagnostics and monitoring

https://siteisok.com/
1•yasenp•32m ago•0 comments

Best Free AI APIs for Developers in 2026

https://freeapihub.com/blog/best-free-ai-apis-developers
2•peter_d_sherman•35m ago•1 comments

Jev vs. Claude as blind headline judge: six gates before either touches a trade

https://alexvidovich.com/papers/text-judge
1•svidov222•37m ago•0 comments

FreeBSD Cope with Signal Fuckup

https://vermaden.wordpress.com/2026/10/10/freebsd-cope-with-signal-fuckup/
1•vermaden•38m ago•0 comments

Why the SoC Can't Run on Vibes

https://www.sentinelone.com/blog/why-the-soc-cant-run-on-vibes/
3•yarapavan•39m ago•0 comments

Only in Japan: The 1980's World of Vinyl Record Phone-In Gaming

https://ei3lh.eu/2026/10/10/the-bizarre-1980s-world-of-vinyl-record-phone-in-gaming/
1•austinallegro•39m ago•0 comments

A 3D-Printed Compliant Micro-Manipulator – XYZ Positioning down to 1µm [video]

https://www.youtube.com/watch?v=-mgqq0qdDRM
2•Teever•42m ago•1 comments

Luish: A vibe-coded shell that is better than bash or zsh

https://luispedro.substack.com/p/luish-a-vibe-coded-shell-that-is
1•luispedrocoelho•43m ago•0 comments

Artificial Intelligence as an Orchestration System

https://medium.com/@smoking2man/artificial-intelligence-as-an-orchestration-system-the-contradict...
1•Aldus551•43m ago•0 comments
Open in hackernews

Ask HN: Help with doing statistics over machine code

2•phafu•1y 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•1y 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•1y 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).