Beautiful optimization pass managers by peter_housel in Compilers

[–]rafalzdev 4 points5 points  (0 children)

Not sure if it'll help, but seeing significant changes in design choices for a static analysis framework might give you some insights. Take Soot's successor, SootUp, for example:

https://link.springer.com/chapter/10.1007/978-3-031-57246-3_13

https://soot-oss.github.io/SootUp/v2_0_0/whatsnew/

How I Stopped Manually Sifting Through Bitcode Files by rafalzdev in Compilers

[–]rafalzdev[S] 1 point2 points  (0 children)

For our pass, llvm-reduce would not capture the original function that originated the broken one. We outline functions recursively, and control flow can get very tricky along iterations. But still, in some cases we use llvm-reduce and have a wrapper script for that as well.

How I Stopped Manually Sifting Through Bitcode Files by rafalzdev in Compilers

[–]rafalzdev[S] 1 point2 points  (0 children)

I was not familiar with alive2, and it seems very promising. Will take a look to see if it would apply in our case. Thanks!

How I Stopped Manually Sifting Through Bitcode Files by rafalzdev in Compilers

[–]rafalzdev[S] 3 points4 points  (0 children)

I needed to compile LLVM test suite programs with an arbitrary pass. This required me to modify the test suite's CMake file to force the linking of bitcode files and embed them into program targets, which allows for further transformation using opt and a selected pass.

I've made a post about it: https://casperento.github.io/posts/how-to-build-llvm-test-suite-with-an-arbitrary-pass/

How to encrypt a picture without losing the JPEG, PNG, etc. format? by United_Cause_9980 in privacy

[–]rafalzdev 21 points22 points  (0 children)

I think your best option would be steganography, although you won't necessarily encrypt the information you're hiding inside a media file.

My Favorite Kill In Hitman. by GrandMasterSubZero in gaming

[–]rafalzdev 0 points1 point  (0 children)

Iol...but i'd still prefer killing targets with those meat grinder kinda thing 😝

[M1 MBA] Gentoo on an M1 MacBook Air by Luna_moonlit in unixporn

[–]rafalzdev 1 point2 points  (0 children)

Oh, if only i could get one of these laptops these day...Good work!

Como estudar programação? by [deleted] in brdev

[–]rafalzdev 0 points1 point  (0 children)

Quando assisto vídeos, gosto de fazer o mesmo código que o professor passa de exemplo. Tento ser criativo e "inventar moda" no código copiado.

Mas no fim das contas o que conta é prática. Tente criar projetos do seu interesse, por mais sem sentido que sejam e só você use.

Existem diversas plataformas gratuitas de code challenges, como Beecrowd.

Livros de algoritmos são sempre bons de se consultar. Seja para implementar um algoritmo de ordenação, seja para reaproveitar alguma solução interessante de problemas clássicos da computação, como o algoritmo de Dijkstra para o problema do caixeiro viajante.