In IDAPython,
execfile('<path>/cxxparser.py')
parse_file('<path>/a.cpp',[r'-I<path>\LuaJIT-2.0.5\src', '-D__NT__', '-D__X64__', '-D__EA64__'])
parse_file('<path>/malloc.c',['-target=x86_64-linux-gnu'])
| // For context, the full "old" version of the class | |
| // Taken from a decompiled xwork-1.0.3-atlassian-7-m08.jar | |
| // - AG | |
| // | |
| package com.opensymphony.xwork; | |
| import com.opensymphony.xwork.util.OgnlValueStack; | |
| import com.opensymphony.xwork.util.TextParseUtil; | |
| import java.util.HashMap; | |
| import java.util.HashSet; |
| diff --git i/conn.go w/conn.go | |
| index ef701c8..f8cfb29 100644 | |
| --- i/conn.go | |
| +++ w/conn.go | |
| @@ -5,7 +5,9 @@ import ( | |
| "errors" | |
| "io" | |
| "net" | |
| + "os" | |
| "time" |
| !!!NOT WORKING!!! | |
| configure | |
| set interfaces wireguard wg0 address 10.xx.xxx.253/32 | |
| set interfaces wireguard wg0 listen-port 51820 | |
| set interfaces wireguard wg0 route-allowed-ips false | |
| set interfaces wireguard wg0 peer JuE+ endpoint mullvadserverip:51820 | |
| set interfaces wireguard wg0 peer JuE+ allowed-ips 0.0.0.0/0 |
| # | |
| # APT Configuration for EdgeRouter/EdgeOS 2.x | |
| # | |
| # Vanilla APT configuration can be problematic since VyattaOS is a fork | |
| # of Debian with enhancements, but is not aggressively kept up to date | |
| # with Debian releases. Not all mirrors have "old" packages and not all | |
| # mirrors have all architectures (e.g. very few have older MIPS architecture | |
| # platforms | |
| # | |
| # - AG |
| #!/bin/bash | |
| ################################################################################ | |
| ### Install Quartus and ModelSim ### | |
| ################################################################################ | |
| # Source code at https://github.com/arthurbeggs/scripts # | |
| ################################################################################ | |
| # # | |
| # Based on https://github.com/jessebarreto/ConfigureWorkspace script. # | |
| # # |
| # For very basic cases, you shouldn't need to worry about such an extensive / granular | |
| # inclusion file, unless you're actually *using* the "template"; if you are, you should | |
| # probably stop doing that :> | |
| - __pycache__ | |
| - *.py[cod] | |
| - *$py.class | |
| - *.pyc | |
| - .git | |
| - README.md | |
| # Exclude template script itself... |
| #!/bin/bash | |
| # | |
| # Function to roll files in the way that logrotate rolls log files | |
| # Keeps up to the specified amount of files | |
| # | |
| # | |
| # (C) 2022, AG | |
| # | |
| set -eu | |
| # Globals, optional |
EDIT/NOTE: Please see the comment below from @oferchen, this is supported properly in the build system now
Get the patch file (python3-static-link-openssl.patch) and put it in your working directory
$ wget https://www.python.org/ftp/python/3.8.12/Python-3.8.12.tar.xz
$ tar -xvf Python-3.8.12.tar.xz && cd Python-3.8.12
$ patch -p1 < ../python3-static-link-openssl.patch