This is probably not the correct interpretation of this error.
The Win32 error above is more likely to indicate the actual problem.
Flags
Severity
Success
This code indicates success, rather than an error.
This may not be the correct interpretation of this code,
or possibly the program is handling errors incorrectly.
Suppose I want to do a short jump using the following opcodes: > EB CB or JMP rel8 > > "Jump short, RIP = RIP + 8-bit displacement sign extended to 64-bits" > > (where CB is a byte signed value representing the relative offset relating to > direction in [...] read more
I'm making a enum in c++ to make a finite state machine using binary flags. It looks like: enum VStates { NEUTRAL = 0x00000000, // 000000 // Physical Status DRY = 0x00000001, // 000001 WET = 0x00000002, // 000010 HOT = 0x00000004, // 000100 COLD = 0x00000008, // 001000 BURNED [...] read more
I wish to mount a remote data source locally as a fuse file system. This is listed as supported by lsvfs: lsvfs Filesystem Num Refs Flags -------------------------------- ---------- ----- --------------- devfs 0x00000071 4 synthetic, jail cd9660 0x000000bd 0 read-only procfs 0x00000002 4 synthetic, jail nfs 0x0000003a 0 network zfs 0x000000de [...] read more
I've recently been pointed into one of my C programs that, should the start address of the memory block be low enough, one of my tests would fail as a consequence of wrapping around zero, resulting in a crash. At first i thought "this is a nasty potential bug", but [...] read more
I have application (server) written in C++ that are crashing around few hours, looks random probably. Worst part is i trying to debug any of core file using gdb and i see that result: gdb --core=core.668 --symbols=selectserver GNU gdb 6.8 Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU [...] read more
I've been trying for the last week or so to get Windows 10 to update to 2004. I've tried all of the common solutions (sfc /scannow, DISM restore, media creation tool etc). After looking at the log files I think I've narrowed the issue to a BCD/MBR issue (see full [...] read more
I'm trying to do some reverse engineering on the MacOS's Mail.app. For this, I'm using class-dump, but I receive the following output: Silviu:~ silviu$ class-dump /System/Applications/Mail.app 2020-04-08 10:54:36.536 class-dump[52413:2202003] Unknown load command: 0x00000032 // // Generated by class-dump 3.5 (64 bit). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 [...] read more
I have the SmartCard HSM usb plugged in to my laptop. I can see it when I run a command thru an application using the PKCS#11 API: Slot 0 Slot info: Description: Identiv uTrust 3512 SAM slot Token [CCID Interface] (55511725602 Manufacturer ID: Identiv Hardware version: 2.2 Firmware version: 0.0 [...] read more
I am trying to add a network printer via batch file, provided I feed the data(Printer IP, Printer Name, Computer IP) into the entries. rundll32 printui.dll,PrintUIEntry /if /b "KONICA MINOLTA C451 PS(P)" /c\\%computerNameIP% /h "x86" /f %windir%\inf\prnkm002.inf /r "IP_%computerNameIP%" /m "KONICA MINOLTA C451 PS(P)" /n\\%computerNameIP%\%printerName% /F %windir%\inf\prnkm002.inf Now, once this [...] read more
I have written the following code (x64 VS 2015): typedef void(__stdcall *foo)(void* v); HMODULE hmod = GetModuleHandle(NULL); foo f = (foo) GetProcAddress(hmod, "_foo0"); f(0); foo0 is defined as: extern "C" void __stdcall foo0(void* v){int a = 0;} I have disabled all optimizations and security checks. What I want the code [...] read more
With mspgcc-size I can get an output like this: text data bss dec hex 13072 236 65296 78604 1330c We know that: Flash = data + text RAM = data + bss How can I extract the size of ROM/RAM from the selected -mmcu=msp430g2553 with the toolchain? e.g. ROM: 8192 [...] read more
I am attempting to tweak Hyper-V Core Server 2019 (host) power thresholds, however my attempts have failed so far. Scenario The newly created Hyper-V 2019 Server (part of Workgroup, not yet a Domain) has been attached to an external UPS. Battery status is provided through a USB cable. The UPS [...] read more
I have setup a robocopy script that runs on a daily basis and synchronises data from a specific folder on a Windows Server 2016 storage server to a SMB share on a QNAP NAS. The Windows Server is domain authenticated, while the QNAP uses a standalone user login. In the [...] read more
I am dealing with a desktop with hardware failed due to a mainboard issue. Replacement mainboards also have the same, known problem; so, I installed a new model mainboard and CPU. Of course, Vista won't boot into safe mode, and auto-repair is helpless. I want to generalize the windows installation [...] read more
I have the following hex opcode sequence for a 8051 microcontroller 785679107A247BFD7C347D407E51745568F869F96AFA6BFB6CFC6DFD6EFE I found this repo that converts hex to instruction sequences https://github.com/anarcheuz/8051-disassembler. Using that I was able to get the following assembly instructions x00000000: 37 38 MOV 38 (R0,#immed) 0x00000002: 35 ANL A,@R0 0x00000004: 37 39 MOV 39 (R1,#immed) [...] read more
I am trying to build a library on my mac (OSX Version 10.14.1, Xcode Version 10.1) and it fails giving following error: Building target: application.a ar -r "application.a" api.o ar: creating archive application.a /opt/local/bin/ranlib: object: application.a(api.o) malformed object (unknown load command 1) ar: internal ranlib command failed make[1]: *** [application.a] [...] read more
I'm working on stm32 and trying to get a printer attributes through TCP, I'm reading the IPP documentation and get to find the right message to send A client TCP socket is created and is connected to port 631 of my printer address Then a send a message with the [...] read more
I found the nodes, but I'm a little bit stuck. Maybe it's because I've been staring at this for too long, but I can't seem to figure out what to do next. From what I found, the nodes are in ascending order. I think. The expected input for phase 6 [...] read more
When I compile same code with g++ with -o2 flag I can backtrace successfully without any Bogus adresses. Like; 0x08156079 in CItem::GetValue (this=0x3adb0f00, idx=0) at item.cpp:957 0x081b123c in quest::item_has_flag (L=0x3af9bdc0) at questlua_item.cpp:155 0x08363cba in luaD_precall (L=0x3af9bdc0, func=0x3b1cedd8) at ldo.c:249 0x0836ba86 in luaV_execute (L=0x3af9bdc0) at lvm.c:637 0x08363fad in resume (L=0x3af9bdc0, ud=0xffffa164) [...] read more
I'm trying to figure out why the address of a static uint64_t arr[] changes when it's defined in the global scope inside the main executable. It changes from 0x201060 (defined by the linker?) to 0x555555755060 at runtime, and I have no idea why. Why does this happen, and is there [...] read more
I am trying to make a socket on windows to connect to a server. I am using the code from msdn's website, the winsock client code. (Link: msdn.microsoft.com/en-us/library/windows/desktop/ms737591(v=vs.100).aspx ) In any case, when I try debugging said code I get the error message: Unhandled exception at 0x58a714cf (msvcr100d.dll) in Application.exe: [...] read more
I want to change powercfg.cpl "Power Options" directly through registry. Specifically I want to change this: enter image description here [https://i.stack.imgur.com/R2Fqq.png] To these settings: enter image description here [https://i.stack.imgur.com/mQyWK.png] I am using a desktop computer on alternating current power, therefore power saving is unnecessary and it impairs performance; I have [...] read more
I'm trying to install Windows 7 64-bit on the HP laptop 17-by2631ng. * Booting from the Windows 7 DVD started working after disabling Secure Boot in BIOS. The "Windows is loading files" screen works, but then the animated Windows logo at the "Starting Windows" screen freezes before the installation can [...] read more
My parents' Dell Inspiron tower goes to sleep within ~3 minutes of inactivity, despite every power setting in Windows (screen saver, turn off screen, go to sleep, turn off hard-disk, etc.) either turned off or set to 60 minutes. This answer claims that Dell has been known to bundle their [...] read more
Been trying to install a USB Printer/Scanner. The installation fails to effectively detect/install the Printer during the phase of the installation where I connect the Printer via its USB cable. Does anyone here know how to effectively interpret the setupapi.dev.log file of the installation to determine what went wrong during [...] read more
I'm taking a computer architecture class, and they're having us use MIPS assembly. Our current assignment is asking us to take a user-inputted hex string, and turn it into a binary one. The code I've written "works", but it's horrible, to say the least. What would be a better approach [...] read more
My C++/MFC program uses the CFileDialog class to retrieve a filename to open. If I comment out the DoModal() call, no Verifier Stops occur. If the dialog is opened (even if it is then simply Canceled), the stops are generated -- three in a row. So I tried the Common [...] read more
I am currently learning how debuggers function and I am trying to program one myself following the book 'Gray Hat Python' by Justin Seitz. I am quite new to python and using the Windows API so any help is appreciated. I am using python 2.7 and Windows 10 64bit (in [...] read more
.pos 0x200 .align 4 InputArray: .long 5 .long 10 Done: .long 0x0 .pos 0x400 .align 4 OutputArray: .pos 0x0 irmovl InputArray,%eax irmovl OutputArray, %esi Loop: mrmovl (%eax), %ecx # get first element from InputArray mrmovl (%eax), %edi # a copy of first element used for multiplication irmovl $4, %ebx # [...] read more
I am working on embedded C firmware for Freescale Coldfire processors. After writing some code, I began to look at ways to reduce the size of the build. We are limited on space, so this is important for me to consider. I realized I had several int32's in my code, [...] read more
Ok, first please don't ask why this application is the way it is. This is a classic ASP application which in several areas uses .Net and COM and some of that .Net also reaches into COM! It's all to do with code reuse really, at some point .Net was introduced [...] read more
my problem lokks like the one suggested by Will "Simple reading/writing from/to a USB HID device in Python?", but following it I did not get any result. Problem: I am trying to handle the Oregon WMRS200 Meteo station, that implements a usb connection as a HID device. I started adapting/simplifying [...] read more
I have a c project compiled with GCC.When I run my test.exe program ends with "test.exe has stopped working" but compiled successfully.How can I debug my program and how can find where is my mistake? Technique 1: I tried to printf("Successful 1..."),printf("Successful 2...") on the beginning of every single line [...] read more
I am tring to make a list of scores, that gets it's data from a database. the error it gives me is:NullPointerException here is what i have done: The activity: public class ScoresActivity extends Activity { ScoreDataSource sds; ArrayList<Score>scores; ScoreAdapter adapter; ListView listview; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); [...] read more
Hi I am new in programming and I have this error in Log Cat. Log Cat shows 'FATAL EXCEPTION Main' and my application has stopped unexpectedly.I am trying to deal with it from several days. Application supposed to show battery information 05-02 22:01:11.836: I/Process(521): Sending signal. PID: 521 SIG: 9 [...] read more
I'm new to android development and I ran into a snag on my first real attempt and an app. I'm trying to make a simple calculator. However when I run the app and enter my the second number in the sequence to be added the calculator the emulator says "Unfortunately [...] read more