Live data from Hacker News

Viewing profile — k4st

k4st

HN member
Joined
Tue, Feb 20, 2007, 3:46 AM UTC
HN karma
148
Public activity
104 items

About k4st

Present: C++ Developer at Hex-Rays SA. Formerly: Staff Engineer at Trail of Bits. Personal website: http://www.petergoodman.me GitHub profile: https://github.com/pgoodman

Recent public activity

  1. comment
    Comment #43014594

    The Pizlo special approach sounds a bit like converting out of SSA form via compensating `alloca`s in LLVM. E.g. one `alloca` per SSA variable, with a `store` into the `alloca` in …

  2. comment
    Comment #42424995

    What was his solution?

  3. comment
    Comment #39949099

    I created a monster, then a primordial explosion, then a nested simulation within the mind of the monster, and asked it to describe the physics of this nested simulation. Very engr…

  4. comment
    Comment #38502615

    Cool! You might even be able to run Rellic [1,2] on the LLVM IR produced by Clang when compiling Objective-C code. If it works, this will spit out goto-free C code, not C++. [1] ht…

  5. comment
    Comment #37181344

    > It would certainly not hurt performance to emit a compiler warning about deleting the if statement testing for signed overflow, or about optimizing away the possible null pointer…

  6. comment
    Comment #36881355

    At Trail of Bits, we've been working on this type of IR for C and C++ code [1]. We operate as a kind of Clang middle end, taking in a Clang AST, and spitting LLVM IR that is Clang-…

  7. comment
    Comment #34843915

    I created a datalog engine a few years back called Dr. Lojekyll: https://www.petergoodman.me/docs/dr-lojekyll.pdf It was pretty cool; you could stream in new facts to it over time …

  8. comment
    Comment #33388444

    Typo fixed! Thanks :-) I think the next big problems for MLIR to address are things like: metadata/location maintenance when integrating with third-party dialects and transformatio…

  9. comment
    Comment #33388132

    At Trail of Bits, we are creating a new compiler front/middle end for Clang called VAST [1]. It consumes Clang ASTs and creates a high-level, information-rich MLIR dialect. Then, w…

  10. comment
  11. comment
  12. comment
    Comment #28656834

    I've always assumed that the `0x` prefix is to make copy & paste easier, i.e. so that you can copy the number, then immediate use it in a a C- or C++-like expression.

  13. comment
    Comment #18386610

    I work on a Google Test-like unit testing framework called DeepState [1] that gives you access to fuzzing and symbolic execution from your C or C++ unit tests. We have a tutorial […

  14. comment
    Comment #16877910

    The [follow up]( http://lists.llvm.org/pipermail/cfe-dev/2018-April/057672.ht... ) message suggests that Google already internally using a non-JSPN-RPC transport layer.

  15. comment
    Comment #16854674

    You can also run KLEE on x86(-64) or AArch64 binaries using McSema to lift the binary to LLVM bitcode. An example is here: https://github.com/trailofbits/mcsema/tree/master/example…

  16. comment
    Comment #16225743

    No, it's closer to [m]achine [c]ode [sema]ntics.

  17. comment
    Comment #10059649

    Indeed! I think I missed that in the original algorithm it doesn't wait for all slots to be zero, just that each slot go to zero. In that way it is just like waiting for each reade…

  18. comment
  19. comment
    Comment #10058121

    That is fine ;-) Sum up the counters.

  20. comment
    Comment #10057916

    A nice simplification of would be to use the current CPU number as your ID. That eliminates the dependence on thread-local storage, and with high probability avoids issues where th…

  21. comment
    Comment #9600465

    I have used TDOP and made variations of it before (e.g. combining TDOP and PEG, as well as introducing a form sub-grammars, like what you get with CFGs). I could also see the simil…

  22. comment
    Comment #9483982

    I use this frequently and it's pretty awesome. The killer combination for me is usually to set a hardware watchpoint, then reverse-continue. This is super useful when you've got a …

  23. comment
    Comment #9356022

    Sounds like you want the BlackBerry hub :-P It's got both forms of views ;-)

  24. comment
    Comment #9063305

    Seems to be a dynamic binary translator. If you like these types of things, then check out Valgrind, Intel PIN, DynamoRIO, or QEMU.

  25. comment
    Comment #8707646

    I semi-recently implemented a malloc tester (am TAing an OS course). Students write their own implementation of malloc and free, and then I "intercept" their calls to brk and sbrk …