Use LIEF with Python for introspection of executable files.
python print_imports.py $Env:WINDIR/System32/notepad.exe| #!/bin/bash | |
| # Process tree memory peak monitor (samples at 10 Hz) for a given command. | |
| # Works on Linux (uses PSS) and macOS (uses RSS) | |
| # | |
| # Usage: | |
| # ./memory_pressure.sh /path/to/executable [arguments...] | |
| # | |
| # Alternative: | |
| # for Linux only, one could use Cgroups v2 to track memory usage of the process tree |
| .buildtool/ | |
| bin/ | |
| lib/ |
| # /// script | |
| # requires-python = ">=3.10" | |
| # dependencies = [ | |
| # "gemini3d", | |
| # "numpy", | |
| # "matplotlib", | |
| # "xarray", | |
| # ] | |
| # /// | |
| """ |
Use LIEF with Python for introspection of executable files.
python print_imports.py $Env:WINDIR/System32/notepad.exedir "%CMPLR_ROOT%\bin\*.exe" /b /a-daocl-ioc64.exe
deftofd.exe
dpcpp-cl.exe
dpcpp.exe
fpp.exeDemonstrates use of concurrent.futures.ThreadPoolExecutor and asyncio.Semaphore in separate examples to check outbound port connectivity.
In both examples, the maximum number of concurrent connections is limited to 5 (user option). This examples shows that Asyncio using
| %amsnr: SNR in AM systems | |
| % | |
| %This code contains functions to generate a message signal, amplitude | |
| %modulate a carrier and detect the message using envelope detection. | |
| % | |
| %Homework: Write code to perform SNR analysis as discussed in homework | |
| %5. Additional information is available in the comments below. | |
| % | |
| % Last modified: 2009-April-07 | |
| % |
| function aud = SSBdemod(modeDemod, fc) | |
| %k = [55e3 65e3]; %sample range to use | |
| k = [1 .2e6-1]; | |
| figure(1) | |
| hT = subplot(3,1,1); | |
| hD = subplot(3,1,2); | |
| hF = subplot(3,1,3); |