DEP, the short for Data Execution Prevention, is a security feature included in recent operating systems meant to prevent an application or service from executing code from a non-executable memory region.
Questions tagged [dep]
99 questions
0
votes
0 answers
Error creating window when Data Execution Prevention is on
In an old C++ application, an error will occur at the last line below when Data Execution Prevention is enabled:
IPrintDlg *pPrintdlg = NULL;
CLSID clsidPrintDlg;
HRESULT hResult = ::CLSIDFromProgID(OLESTR("MyCompany.PrintDlg"), &clsidPrintDlg);
if…

MamaCasc
- 55
- 7
0
votes
2 answers
Does the existence of PAGE_EXECUTE_READWRITE as an option in VirtualAlloc mean that the W^X is only facilitated in Windows by DEP?
W^X ("write xor execute", pronounced W xor X) is a security feature in operating systems and virtual machines. It is a memory protection policy whereby every page in a process's or kernel's address space may be either writable or executable, but…

J.Todd
- 707
- 1
- 12
- 34
0
votes
1 answer
Calling SetProcessDEPPolicy on another process?
A game (Sims 3 to be specific) is poorly coded, and one of the ways to get it to stop randomly crashing is to add it to your DEP exception list. I don't really want to do that if I don't have to, so I was wondering if there was a way to use…

Dragonshadow
- 61
- 1
- 11
0
votes
1 answer
How can i write as a csv file for S4 class?
I am using DEP proteomics package to analyse my mass spectometry data. I want to remove the batch effect from the my data. So after the preprocessing of my data i want to download as a CSV file file so that i can upload into batch server. but I am…

PraveenKumar
- 21
- 5
0
votes
2 answers
Is buffer-overflow considered a "solved problem" ? (at least for future systems)
I am looking at various buffer/heap/stack protection technologies such as PAX, DEP, NX, CANARIES, etc
And a new one SMEP - http://vulnfactory.org/blog/2011/06/05/smep-what-is-it-and-how-to-beat-it-on-linux/
Assuming that i am using the latest kernel…

YAZR
- 79
- 1
- 8
0
votes
1 answer
Github actions, problem with dep installing
I have this go.yml for github actions
name: Test
on: [push, pull_request]
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.15
uses: actions/setup-go@v2
with:
go-version: 1.15
…

SerGO
- 21
- 5
0
votes
1 answer
Test app with Android Dynamic Features on a remote device
I have an Android app under development which uses Dynamic Features. I know that apps with Dyn. Features should be build as a BUNDLE, but the probleme is that I need to deploy the app and all its features to a test device that is located in a remote…

Sergiob
- 838
- 1
- 13
- 28
0
votes
1 answer
How can I create simple C++ code that runs fine with no Data Execution Prevention (DEP) but will crash with DEP on?
While I understand code that is not marked "executable" will trigger a DEP crash, I am trying to understand what type of common coding practices (in legacy Windows apps) would result in this type of crash.

Malcolm McCaffery
- 2,468
- 1
- 22
- 43
0
votes
1 answer
Not able to install latest version of mongo-go-driver (v1.2.1)
I am not able to get v1.2.1 for mongo-go-driver. I am using dep to resolve dependency.
My import block looks like-
import (
"go.mongodb.org/mongo-driver/mongo"
"go.mongodb.org/mongo-driver/mongo/options"
"go.mongodb.org/mongo-driver/bson"
…

Vaibhav Khandelwal
- 17
- 4
0
votes
1 answer
How to compile vegeta through dep of go?
I need to compile vegeta (https://github.com/tsenart/vegeta) in order to verify some assumptions.
To do that, I have correctly prepared relevant tools including dep and make, but we cannot access golang.org throughout the nation of China, so each…

fengnix
- 85
- 6
0
votes
1 answer
Dep Ensure Doing Nothing Just Loading
I have a problem with dep
When i add some dependency for example github.com/jmoiron/sqlx this dependency, I have to wait very long, then it just doing nothing, only showing message "Fetching Sources"
I've been waiting for 5 mins and it's not doing…

Jasson Harsojo
- 237
- 1
- 6
- 15
0
votes
2 answers
Running dep ensure -vendor-only inside Docker Hangs not able to pull private Repos
My Dockerfile:
FROM golang:1.11.4
RUN apt-get update && apt-get install git bash curl -yqq
ENV ENV test
ENV GIT_TERMINAL_PROMPT=1
ENV GITHUB_TOKEN XXXXXXXXXXXXXXXXXX
RUN curl -Ls…

Javeed Shakeel
- 2,926
- 2
- 31
- 40
0
votes
0 answers
Go dep list dependencies links
Is it possible to list just links/names to go dependencies?
For example in Gopkg.lock I have:
[[projects]]
digest = "x:xxxxxxx"
name = "cloud.google.com/go"
packages = [
"xxxxx",
"xxxxx/xxxxx",
]
I want just name:…

Sergii Getman
- 3,845
- 5
- 34
- 50
0
votes
0 answers
Adding a program to DEP exception list with code or launch process with DEP disabled
I need to add a program to the DEP exception list through code.
One way is to add it to the Registry, but I would prefer to do it some other way if possible.
Alternatively, launching the process with DEP disabled would be okay as well, but I…

Jay
- 1
0
votes
0 answers
Different dependencies for different environments with dep
How can I ensure that I use different dependencies depending on the environment/build? For example, I do not want to include some dependencies required for the testing environment in my production build?

Sammy
- 885
- 3
- 13
- 32