Better HN
topnewbestaskshowjobs
Log inSign up

barahilia

114 karma · joined Jan 8, 2017 (9y ago) · 11 submissions

Submissions

1.

Relativistic unit test dilation(barahilia.github.io ↗)

2 points · by barahilia · 8y ago · discuss

comment 9y ago · link · parent

Thank you.

3.

Spamspy – Fuzzy Hash Explained and Extended(barahilia.github.io ↗)

9 points · by barahilia · 9y ago · 2 comments

comment 9y ago · link · parent

Very interesting. Technically this should work in Dalvik opcodes too. But I do not know if there any runtime checks done by VM. I have never seen such technique used in Android.

comment 9y ago · link · parent

As explained in the post, function call is a full expression for which appropriate function should be found. If there 2 functions with the same name and param types it would be impossible to compile such an expression in its own.

comment 9y ago · link · parent

Indeed. The lower level language must be more expressive by the "definition". It is more difficult to write but allows fine grain control. This is the reason some optimization and obfuscation tricks are done in Assembler (native world, not Java). And hence disassembler simply can not re-translate it back.

comment 9y ago · link · parent

In basic blocks (no conditionals or loops), a disassembler mostly does a mechanical job translating opcodes to the appropriate Java code and aggregating expressions. But it doesn't rename functions and or classes. They are left as were in the bytecode.

comment 9y ago · link · parent

Yes. Because of overloading there may be 2 functions with the same name and the same return type but different arguments. So you need to include them too.

9.

Impossible Java(barahilia.github.io ↗)

294 points · by barahilia · 9y ago · 100 comments

10.

To Yield or Not to Yield(barahilia.github.io ↗)

3 points · by barahilia · 9y ago · discuss

11.

DSL – practical design by example(barahilia.github.io ↗)

2 points · by barahilia · 9y ago · discuss