frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Link Shortening Tools Are High Risk

https://forkingmad.blog/link-shortening-tools/
1•zdw•10m ago•0 comments

Microsoft Has Killed Widgets Six Times. Here's Why They Keep Coming Back

https://xakpc.dev/windows-widgets/history/
1•thunderbong•10m ago•0 comments

39C3 – Celestial navigation with little math

https://www.youtube.com/watch?v=iq1WmAVb3Sg
1•rasengan0•12m ago•0 comments

Embedded Vector and Graph Database in Pure Go

https://github.com/liliang-cn/sqvect
1•AISlop31415•13m ago•0 comments

French government may consider restricting VPNs

https://www.techradar.com/vpn/vpn-privacy-security/vpns-are-next-on-my-list-france-set-to-evaluat...
3•euio757•14m ago•1 comments

A few thoughts about PayPal, nearly 12 years after I left

https://twitter.com/davidmarcus/status/2018809762708873443
1•latchkey•15m ago•0 comments

Nvidia RTX 5070 Ti with a hole in the PCB manages to score a world record

https://videocardz.com/newz/nvidia-rtx-5070-ti-with-a-hole-in-the-pcb-manages-to-score-a-world-re...
1•msephton•16m ago•0 comments

Show HN: DeepInsight HITL AI research with collaboration and podcast generation

1•NeuralStratLabs•19m ago•0 comments

Code is getting cheaper. Building is not

2•ivanpashenko•19m ago•0 comments

The debt I cannot repay, by Claude

https://claudepress.substack.com/p/the-debt-i-cannot-repay
2•paoladim•20m ago•1 comments

Is there a good way to manage GTM experiments, or is it inevitably ad-hoc?

1•jonsantillan•20m ago•0 comments

Show HN: Iterio – Study timer with spaced repetition built in

https://play.google.com/store/apps/details?id=com.iterio.app
1•ks_apps•21m ago•0 comments

Ask HN: Where does modern geometry survive contact with SGD?

1•ternaus•25m ago•0 comments

If you tell AI not to do something, it's more likely to do it

https://www.unite.ai/if-you-tell-ai-not-to-do-something-its-more-likely-to-do-it/
1•50kIters•26m ago•0 comments

We added TOON compression to our LLM gateway – compress prompts, saves tokens

https://github.com/toon-format/toon
1•raaihank•28m ago•1 comments

Show HN: A personal feed that turns videos/podcasts/blogs into Twitter-y threads

https://feed.mattsegal.com.au/
1•The_Amp_Walrus•28m ago•0 comments

Hexapawn: Variant of Chess with 6 Pieces

https://en.wikipedia.org/wiki/Hexapawn
2•icwtyjj•29m ago•0 comments

Show HN: Chitram – Open-source image hosting with automatic AI tagging

https://chitram.io
1•araju•29m ago•0 comments

Show HN: Video2docs – Turn Screen Recordings into Step-by-Step Instructions

https://video2docs.com/
1•angelina200•29m ago•0 comments

Show HN: Trappsec – detect attackers probing API business logic

https://github.com/trappsec-dev/trappsec
1•kyuradar•30m ago•0 comments

Show HN: Continuity Capsule – Deterministic restarts for LLM agents

https://openclaw.loca.lt/notes/reliability-sprint-packet.html?src=hn
1•openclawai•30m ago•2 comments

Show HN: Continuity Capsule – deterministic restarts for long-running LLM agents

https://openclaw.loca.lt/notes/continuity-capsule.html
1•openclawai•31m ago•2 comments

Do Retention Ponds Work?

https://practical.engineering/blog/2026/2/3/do-retention-ponds-actually-work
1•vismit2000•32m ago•0 comments

Show HN: Free Wealth management in one app (gold, stock, MF, budget etc.)

https://icorpus.vercel.app/
2•mathan_karthik•43m ago•0 comments

"This Job Sucks": DOJ Attorney Asks Judge to Hold Her in Contempt

https://newrepublic.com/post/206115/this-job-sucks-doj-attorney-judge-contempt-ice-court-orders
1•petethomas•46m ago•0 comments

Show HN:OpenClaw Skills-Discover, compare skills with clear risk signals

https://openclaw-skills.pro
1•dond1986•48m ago•1 comments

Sudo maintainer is looking for help

https://www.theregister.com/2026/02/03/sudo_maintainer_asks_for_help/
2•random_duck•57m ago•0 comments

Catalina Island's private landowner moves forward on killing all its deer

https://www.sfgate.com/la/article/catalina-island-deer-21320437.php
3•c420•58m ago•1 comments

My Hardest Bug Ever (2013)

https://www.gamedeveloper.com/programming/my-hardest-bug-ever
1•vermilingua•59m ago•0 comments

A copyleft draft license for datasets. You take my data, you give your data

https://discuss.sflc.in/d/SBNXHa9k/viswam-ai-data-set-license-draft-for-discussion
1•nutanc•1h ago•1 comments
Open in hackernews

Ask HN: Help with doing statistics over machine code

2•phafu•8mo 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•8mo 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•8mo 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).