News for hackers. Stuff that matters.

Julio-Guerra

Re:Instrumentation in Go on Tuesday May 26, 2020 @08:48AM (#23310432)
We haven't modified the compiler but instead plugged into it an external instrumentation tool using the compiler option `-toolexec`.

With this option, the compiler invokes every toolchain binary (compile, asm, link, etc.) through the provided program. So you can basically write a proxy program intercepting calls to `compile` to do source-code instrumentation, exactly like you would with go generate, but now automatically done during compilation on every package.

Re:Instrumentation in Go on Tuesday May 26, 2020 @08:15AM (#23310147)
Something to note here is that everything is known and done statically in the source code. This could be addressed through metaprogramming if only the Go language had some ^^

We have similar needs at Sqreen but for security monitoring and protection reasons: we need to dynamically instrument functions at run time, while not asking any code modification to our users. To do so, we instead leverage the Go compiler to perform compile-time instrumentation that inserts hooks anywhere interesting. You can read more about this approach at https://blog.sqreen.com/dynamic-instrumentation-go/

Re:Introducing WhatsApp's Desktop App on Wednesday May 11, 2016 @01:53AM (#11672894)
It seems to be nothing more than https://web.whatsapp.com/ in a web view. So I can't really see interest.
Re:Test your BIOS and share your results on GitHub on Wednesday February 17, 2016 @04:31AM (#11116536)
Done. I released a tool helping to contribute. It tries to store the results according to the BIOS Information Table in the logs.

The new storage rule tries to be "deterministic".

Re:Test your BIOS and share your results on GitHub on Wednesday February 17, 2016 @04:31AM (#11116533)
I released a tool helping to contribute. It tries to store the results according to the BIOS Information Table in the logs.

The new storage rule tries to be "deterministic".

Re:Test your BIOS and share your results on GitHub on Monday February 08, 2016 @08:43AM (#11058004)
I updated the README to include your comments. Thanks for the feedback.
Re:Test your BIOS and share your results on GitHub on Monday February 08, 2016 @04:53AM (#11057241)
I ran FWTS from its live image which does everything automatically, you don't have to do anything but wait for the results.

I'll had some explanations.

Re:Notes on Writing Makefiles on Saturday November 28, 2015 @07:36PM (#10643196)
cmake does not really offer the declarative interface I want (i.e. descriptions of components). It is still "low-level" and I would have to write cmake macros too. So I preferred native gnu make. Adding another tool on top of Make adds another layer of complexity, no matter how simple it is.

To me, the big benefit of cmake is its portability because it is able to generate visual studio files, eclipse files, etc.

Another one is that you end up with a static Makefile while my solution is dynamic: the makefile is evaluated at every execution (unless gnu make caches its parsed files but I don't think it does so far). It could be a problem for big projects like linux which would require a certain amount of parsing time of the Makefiles before evaluating them - while cmake or autotools, you go through this only once.

Re:Notes on Writing Makefiles on Saturday November 28, 2015 @04:19AM (#10640585)
Over the last few years, I wrote a GNU Make library to make people able to write Makefiles in a very declarative way to help everyone in my company, me included, with this serious problem. I tried to make it as simple as possible using simple widespread concepts like UML components where you simply say a component has interfaces you can require and implementations you can link against. It is used to build our Operating System, our applications and even our reactjs web application.

I decided to make it open source a few months ago but it lacks examples and documentation, sorry... You can check out this test to see how it looks like in the test-suite: https://github.com/farjump/Makefile.in/blob/dev/test/externa...

It solved every problem I noticed about writing bare Makefiles: dependency tracking and generation is automated; the Makefile can be split into multiple sub-makefiles in your source-tree so that it matches your UML (these one http://agilemodeling.com/images/models/componentDiagramUML1.... you can perform out-of-source builds; generating complex software with deep dependency trees made simple (you inherit from other components' dependencies), etc.

Bonus: it also includes some hacks with GNU Make metaprogramming https://github.com/farjump/Makefile.in/blob/dev/src/mk/core/... :D

Re:Our First Certificate Is Now Live on Tuesday September 15, 2015 @04:33AM (#10219558)
why aren't they sponsored by google nor facebook...? isn't it the only way today to support "open internet" ?
Re:MuJS: an embeddable JavaScript interpreter on Tuesday March 17, 2015 @05:30AM (#9216962)
I just embedded it on a PowerPC P2020DS processor as a baremetal program (using the newlib and by stubbing the syscalls) and it works, I get a baremetal javascript interpreter ;)