Questions tagged [64-bit]
A 64-bit architecture is usually a system where addresses (pointers) are 64 bits wide. Sometimes, it can mean a system where the “natural” size for integer computations (the word size) is 64 bits.
6,083
questions
0
votes
0
answers
22
views
setting up pythonnet to run against a virtual environment on a 64 bit raspberrypi
After upgrading to a 64 bit os on a raspberry pi i cant install the python modules i need globally using pip so have been trying ot use a virtual environment but cant get it to work in .net7 with ...
-4
votes
0
answers
36
views
C functions inside the DLL are not called correctly [closed]
I have a DLL that includes functions written in C language, the functions use a database inside the folder in \project\bin\debug\ and I'm importing the DLL in Visual Studio using C#.
I'm calling a ...
0
votes
0
answers
54
views
Trying to Compile/Run CPP MSYS2 but Receiving "No such file or directory" Error Message
I wrote a .cpp program on Notepad as a test run.
#include <iostream>
int main()
{
std::cout << "Hello\n";
}
I then installed mingw-w64-x8664-gcc onto MSYS2 for my 64-...
0
votes
0
answers
55
views
QT 6.6.0. C++ camera issue
I am new to QT and I can't figure out why my code is not working. It does not matter whether the camera is connected to the PC or not, my app crashes. The crash is probably caused by m_captureSession ...
-5
votes
1
answer
57
views
How do i fix the current error I am getting?
enter image description hereI am getting an error in my code for line 6 & 7 & 13 could someone explain to me how to fix it?
It is saying “relocation to ‘displayword’ invalid without /...
0
votes
0
answers
15
views
ExcelDNA - Reference x64 library for Excel 32 bits
I'm writing a .Net 6.0 Excel plugin which will stream Tibco data through Excel.
For that, i'm referencing a x64 Nuget package which will subscribe to a Tibco subject and stream the data.
However when ...
1
vote
0
answers
32
views
NASM Allocate an Array Filled with Values from Registers
I am writing a simple NASM assembly program which will get the value of one of 16 64-bit registers (rax thru r15) when given a long number i (0 thru 15) corresponding to that register. My approach is ...
0
votes
0
answers
30
views
How 64bit cpu fetch 8bits(generally 1 Byte) of data from ram
While learning about computer architecture, I came to know about CPUs fetch-execute cycle, ISA, buses and other stuffs. Each CPU can perform on different bit sized data based on their architecture (...
1
vote
2
answers
59
views
Is there any way for a python project to have two virtual environments?
My current project in python has hit a problem.
The API I wrote to connect to Sharepoint needs to be run in 64-bit python.
And the Oracle API needs to be run from python 32 bits (because of server ...
0
votes
1
answer
41
views
C slow buffer access [closed]
I have two code snippets with an similar task.
Following code needs four seconds:
while(1)
{
fputs(erz_aint2hex(buffer[write_helper++]), fp);
if(write_helper > _size) { if(enable_output) ...
0
votes
0
answers
69
views
Segmentation fault (core dumped) when running "sorter.s"
In our exercise, we're going to write a program that when given a list of (x, y)-coordinates
it sorts them on just the y-dimension and then prints the result.
We have some code snippets that I want to ...
0
votes
0
answers
71
views
C check reservable RAM with calloc [duplicate]
I wrote a function to see how much memory can allocate with calloc.
Compiled with mingw32 (32bit) the Application prints 1645943600 Bytes (1569Mb).
Compiled with mingw64 (64bit) the Application prints ...
0
votes
0
answers
69
views
Converting 64bit asm to 32bit?
I'm working on a project which involves loading a dll into an application that has 64bit and 32bit versions. I do not have access to the source code for this app, I am injecting instruction into a ...
0
votes
1
answer
54
views
MS Access - ADODB conection issue - syntax error in FROM clause
I am migrating an App designed in Access 32 bits to Access 64 bits. I have followed all the steps defined in the Microsft website. I have managed to open it and work in most of the macros that App had,...
3
votes
1
answer
191
views
int_fast8_t size vs int_fast16_t size on x86-64 platform
I already learned that on the x86-64 platform using any 64-bit register would need a REX prefix, and any address less than 64 bits would require an address-size prefix.
On x86-64 bit:
E3 rel8 is jrcxz
...
0
votes
0
answers
26
views
Direct assembly code execution in VBA part 2; 64 bit [duplicate]
I have a COM method; it is supplied with a this pointer and returns a hresult. I want to display a message box. This is my 32 bit version
push 0 ; MB_OK
push DWORD PTR [captionAddress] ;...
0
votes
0
answers
46
views
Compiling assembly (.s file) using gcc error c++ standard library
I am trying to compile an .s file I produced using llvm (llc) back to an .exe file.
When trying to compile the .s file using g++ with g++ output.s -o test.exe, I get multiple errors of
output.s:344: ...
0
votes
0
answers
150
views
VS Code 32 bit in Windows 11 64 bit replacement
I just got a notice in my VS Code that the 32 bit version was not going to be supported much longer and it was recommended to upgrade to the 64 bit version. Can I just install the 64 bit version over ...
0
votes
0
answers
43
views
Visual Leak Detector VLD truncates pointer 64 bit
VLD is only reporting the last 8 digits of the leaked memory address.
For example here is a leak from the VLD report:
---------- Block 14207110 at 0x00000000185AB1E0: 528 bytes ----------
Leak Hash: ...
0
votes
0
answers
30
views
Calling Twapi in 64 bit failure in 'freewraped' version
I have a strange problem in a current TCL program. It requires two libs, the muPDF and twapi. It has to be in 64 bit version due to muPDF being only available in 64bit. For the twapi it should be no ...
1
vote
0
answers
87
views
This release is not compliant with the Google Play 64-bit requirement (Android Studio App)
This release is not compliant with the Google Play 64-bit requirement. The following APKs or App Bundles are available to 64-bit devices, but they only have 32-bit native code: [1] Include 64-bit and ...
0
votes
0
answers
25
views
Shellcoding emacs to make it run vim
I am attempting to modify the x64 assembly code of emacs to make it run vim in background using a shellcode. I normally do this on x32 with pushad and pushfd but I am blocked in x64. I will give more ...
0
votes
0
answers
14
views
How I can download those lib 64 bit?
Please i had app works on 32 bit , and now I would like to build it to works on 64 bit.
I have add those on ndk, but I don't know how I can get the lib missing for 64 bit.
Thanks
** ndk {
abiFilters &...
0
votes
0
answers
68
views
send data using Indy component as WideString with Delphi
I'm using Delphi 6 for developing a client/server application using Indy and COM components, and the response was sent in XML format as a WideString variable. I'm facing an EOutOfMemory exception when ...
1
vote
1
answer
129
views
Accessing C++ variables from masm/x64
Linking and calling functions from masm are OK, but variables mangled or not can't link from masm/x64.
C++: in a DLL
extern "C"
{
extern __declspec(dllexport) int TestInt;
}
namespace ...
0
votes
1
answer
156
views
Need suggestion to use alternate for Faststring.pas in delphi
I have converted code from Delphi 6 32-bit to Delphi 11 64-bit, and in the source code we have used Fast String to use the FastReplace() and FastPos() functions.
I have tried to compile the ...
0
votes
1
answer
57
views
x64 NASM Assembly 64bit conditional jump doesn't work
Environment: Ubuntu22.04@WSL on Windows 11, NASM v2.15.05, x64, Intel CPU
When I was debugging my assembly program, I found something strange during my debug. The program was executing a loop. The ...
1
vote
0
answers
46
views
x64 NASM Assembly 64bit division doesn't produce remainder
mov rax, rdi
mov rbx, [_j]
idiv rbx
There was a dividend in RDI register and a divisor in the BSS section variable j. To get the calculation result of RDI % j, I wrote the code like the upper ...
0
votes
1
answer
64
views
x64 NASM Assembly extern printf doesn't print anything [duplicate]
I was attempting to write a program that prints every prime number which is smaller than the user input. So I first tried a portion of the program that prints a message that users to induce the user ...
0
votes
1
answer
36
views
Why is minus going after the numbers when I convert the number in the string?
I have written the code on Netwide Assembler that converts an integer to a string but console's output is wrong. And if it will help I write code on Windows 10 under x64 architecture.
I tried to write ...
0
votes
0
answers
121
views
Could not load type 'WebAssembly.JSInterop.JSCallInfo' from assembly 'Microsoft.JSInterop.WebAssembly
I am encountering the following error on hosted linux x64 server while running Blazor webassembly asp. .net 7 used. I look forward to your help in this matter.
System.TypeLoadException: Could not load ...
1
vote
1
answer
58
views
x64 NASM Assembly print a single character returned from the function [duplicate]
I was writing a simple NASM x64 Assembly program that adds two single-digit numbers(4 and 5 respectively) and print it on the screen. However, I wanted to use a procedure call(function). So I designed ...
0
votes
1
answer
41
views
using 'new' operator in MS windows 64bit dll causes problems loading dll
MS Windows 10, MinGW64bit, Codeblocks 20:03
I have code that was previously in 32bit and working perfectly. Rewriting and changing to 64 bit and running into problems.
I used codeblocks to generate a ...
0
votes
0
answers
30
views
Device showing 32-bit kernel instead of 64-kernel in boot.img
As the title said every device info or hardware info app I download from play store shows my device is 32-bit or the kernel is 32 bit but I extracted my kernel from the stock boot.img file and ran the ...
1
vote
2
answers
323
views
Not able to assign 64-bit value to uint64_t in C
I have the following piece of simple C code where I simply try to assign a 64-bit value to uint64_t. However, the assignment happens as 32-bit value only and the most significant 32-bit are always ...
0
votes
0
answers
18
views
Run-time Error 5: Invalid Procedure - Changing Pivot Table Source & Refresh Pivot Table
I try to Change/Edit the source of pivot Table and refresh the pivot after that but get the 'Run-time error '5', Invalid procedure call or argument.
I get a successful result on my computer with ...
1
vote
1
answer
41
views
How to get the runtime of a NASM assembly program?
How get the Runtime of a NASM Program?
This is the program that I want to get the runtime of it. It is a simple program to calculate the Fibonacci sequence using NASM assembly so, I need to get the ...
-1
votes
1
answer
92
views
Buffer Overflow exploitation to get a shell
I've spent hours trying to figure out the problem about my exploitation.
I tried to exploit the vuln-machine explained in this page: https://www.ired.team/offensive-security/code-injection-process-...
-1
votes
1
answer
65
views
Why do we need 64-bit CPUs? [closed]
In software development, 32-bit variables can already meet 99.99% of the requirements. So why do we need 64-bit CPUs?
If it's about addressing issues, couldn't we solve it perfectly like the 8086 did, ...
-2
votes
1
answer
102
views
App launched with ShellExecuteEx not detected in EnumProcesses list
After converting our code base to 64 bit (Delphi Alexandria 11.3) I noticed that a process launched by 'our' TTTLauncher component is not seen by our IsProcessRunning function using EnumProcesses.
I ...
2
votes
2
answers
285
views
64-bit objects no longer initialized to nil?
I just noticed this:
function DataTransfer(...parameters...) : boolean;
var
LTestQuery, LUpdateQuery: TFDQuery;
begin
Right at the start of the procedure:
In 32-bit (Delphi Alexandria 11.1) local ...
0
votes
1
answer
28
views
Bufferoverflow 64 bit linux
I'm resolving an exercise where I have to exploit a bufferoverflow to spawn a shell. I got the offset, the payload and so on and via gdb i can see that the shell starts: "process 4854 is ...
0
votes
1
answer
133
views
Delphi 64 bits Insert rtf stream into richedit
I try to insert a rtf inside a richedit (specifically a rtf saved in database, and then inserted in the current richedit control at the selection point).
The code below works in 32 bits. But was not ...
0
votes
0
answers
18
views
is there a way to allocate customized RAM allocation to an user application on Windows?
I have a custom application running on windows 7 64 bit .
I have tried to reduce the RAM allocation to this exe by
editing the registry and setting the values MaxProcessMemory - this did not work .
I ...
0
votes
0
answers
42
views
Why isn't my IDIV instruction working as expected on Windows x64 using NASM assembler? [duplicate]
I tried using the following codes to get the quotient and reminder for IDIV instruction, but it didn't work as expected. I use NASM as the assembler. It prints "The quotient is: -1840700272The ...
0
votes
2
answers
1k
views
Firebird fbclient.dll and gds32.dll bitness for 64-bit program?
When converting my 32-bits Delphi Alexandria 11.3 program from 32-bit to 64-bit, I noticed that the directory with the executable also contains Firebird's fbclient.dll which is identical to the file ...
0
votes
0
answers
61
views
How can one execute ROP attack in presence of zero addresses in stack and overwrite RBP and RIP registers?
How to overwrite the RBP and RIP register on the stack for a ROP (Return-oriented programming) attack if I have addresses in the stack begin and end with \x000000.......?
I'm practicing buffer ...
0
votes
0
answers
17
views
ProgressBar value update c# [duplicate]
I am facing a problem in c#.
I have a form: Form1. The Form1 has a button which executes a loop in selenium c#. While this is running, the form freezes.
I want to show the progress (like 1/100, 2/100, ...
1
vote
2
answers
24
views
Running MSBuild from Cruise Control .NET with 64 tools environment enabled
I was running into the a linker error: Error C1002 compiler is out of heap space in pass 2 (while building using Visual Studio 2015) recently and my solution was to use msbuild from the command line ...
0
votes
0
answers
50
views
how to enable kpti or kvas
How to enable KvaShadow(KPTI), my computer cpu is intel, system is Windows 10
i want to enable kpti, but i don't konw how to enable it. i search a crticle that it say modify reg, but enable kpti or ...