Better HN
topnewbestaskshowjobs
Log inSign up

idividebyzero

30 karma · joined Jun 10, 2016 (10y ago) · 55 submissions

CS @ Polimi
Submissions

comment 6y ago · link · parent

Well, this is not completely true. As said, JIT employs absolute addresses a lot, and for instance, you can use `lea` to compute the absolute address of a variable at runtime (with PC-relative addressing mode). Said that, I still see `movabs` of an hardcoded address (not necessarily a hardware register) into a register and then a call to it (and this continues to be position-independent code). Also, if I remember correctly, the __TEXT segment is not randomized by default on Linux.

comment 6y ago · link · parent

I understand that they refer to it as a fixed-length instruction set, it's correct, note though that not all ARMv8 instructions are 4 bytes long. Indeed, some instructions that are met together are fused to a single one, or SVE, for instance, introduces prefix; so practically, this means that sometimes instructions can be 8 bytes long.

comment 6y ago · link · parent

I think it moderately depends on the definition you give it to. If you require RISC to be a load/store architecture, x86 is not even close to be one. Also, aarch64 is a variable-length instructions set and include complex instructions (such as those to perform AES operations). Compiler optimizations are meant to be taken advantage by all architectures, regardless of RISC/CISC.

4.

Revng: LLVM libFuzzer for closed-source binaries(twitter.com ↗)

1 points · by idividebyzero · 6y ago · discuss

comment 7y ago · link · parent

Even if the same key is shared by all processes, keys are stored in registers that are meant to be not accessible to userspace, so a disclosure vulnerability would not help here anyways.

comment 7y ago · link · parent

True, but drivers methods are exposed through IOKit framework, which clearly does not even attempt in reducing the attack surface, and instead, makes the exploitation easier. Thus, its design appears to be fundamentally broken.

comment 7y ago · link · parent

Just out of curiosity: did they let you use the MacBook Pro without problems? Can you guys @ Microsoft decide to use whatever OS is more suitable for what you do?

comment 9y ago · link · parent

because the compiler knows that the structure is located exactly 0x1AB bytes before the current function

This should be 0xF bytes before the current function, shouldn't it? I liked it.

comment 9y ago · link · parent

I expected a similar article when it was time to say goodbye to Internet Explorer as well.

comment 9y ago · link · parent

Yes, I got what you meant, and I know that some parts, especially those which cover measuring, should perhaps be investigated deeper. I'll outline the objectives better next time.

comment 9y ago · link · parent

What kind of work would it need sorry? Anyway I can understand this may not seem to be real benchmarking, while writing it eventually became almost an excuse, the very original purpose was to kinda verify my Prof's thesis, whether was really right or not. My intention was not even about to utterly speak about benchmarking nor shared memory (which I both tried to cover though).

comment 9y ago · link · parent

Wanted to just note down the numbers I got by timing, as then I said, I wanted to remark that was interesting how they are being used complementarily and had fun to implement them.

comment 9y ago · link · parent

I haven't even thought about graphs, I just called 'benchmark' the output of time(1).
12