Recovering Symbols from a Stripped Binary in IDA
Recovering Symbols from a Stripped Binary in IDAHow do you get useful symbol names back after a binary has been stripped? There is no perfect answer yet. The same source can produce different machine code depending on the compiler, optimization settings, CPU instructions, and target architecture. Unreferenced static-library code may not be included at all. Here are three approaches I have looked at.
FLAIRPros: It is officially supported and straightforward to use.
Cons: Its scope is static syste ...
Configure xrdp and VNC for a Linux Server GUI
A remote X11 desktop can be painfully slow when the network is poor, but sometimes a Linux server still needs a GUI. I tried xrdp as a more responsive way to connect and recorded the setup below, along with VNC alternatives.
1. XRDPxrdp feels much like Windows RDP to use. Although it relies on X11, I found the desktop a little more responsive.
1. Install xrdp and xfce41234567sudo apt install xfce4sudo update-alternatives --config x-session-manager# 选xfce4-sesion 回车sudo apt install xrdpsudo syste ...
Python / PyTorch Performance Tuning Guide
When you’re training models, preprocessing and training can take forever. With a large dataset, two or three days can disappear before you know it. Discover a bug after two days and you get to start all over again. Here’s how to use profilers to find what’s slowing your program down.
The simple, easy-to-use Line Profiler
Line Profiler is somewhat invasive: you need to change your code manually.
First, the simplest step: install it.
1pip install line_profiler
After installation, add @profile to ...
Installing CUDA for Deep Learning on WSL2/Linux in 2023
As of 2023, if you have sudo access, this deep-learning setup can save you from installing CUDA by hand.
A word of caution: WSL still has plenty of rough edges. If you have the option of using native Linux, I recommend it.
1. WSL2 + one GPUPrerequisites
Windows 11
NVIDIA GPU
A way to access the required overseas sites, if your network restricts them
For the first walkthrough, imagine starting with a fresh Windows computer and setting up a deep-learning environment inside WSL.
1.1 Install WSL ...
Should I Buy a MacBook? A MacBook Buying Guide
Should I Buy a MacBook? A MacBook Buying GuideSince the M1 and M2 arrived, tech influencers have been selling the MacBook as the ultimate productivity machine. Plenty of students are eyeing their wallets and wondering whether they should buy one to experience this productivity for themselves. Here’s my take as a user.
TL;DR: If you can afford it, go for it. If money is tight and you’re a CS student, stick with a Windows laptop.For tinkerers: I want to be the boss of my computer. What the hell i ...







