Tag: c

0 votes
0 answers
57 views
No artigo de hoje vou apresentar a você 15 dicas muito boas da linguagem

   Atenção: nem todas dicas, especialmente os atalhos de código, v&at

avatar
asked 14 June, 2023
0 votes
0 answers
69 views
0 votes
1 answers
75 views
php test ba und css

tep 1: Draft your question   The community is here to help you with specific coding, algorithm, or

avatar
blabla
0 0 0 0
asked 23 July, 2022
1 votes
3 answers
115 views
i want learn css how i can start ?

thanks all   --------------------------------------------------------------------------------------

avatar
youcif100
0 0 0 0
asked 22 May, 2022
53 votes
4 answers
1.3K views
What is the difference between native code, machine code and assembly code?

I'm confused about machine code and native code in the context of .NET languages. What is the difference

avatar
Deedee
0 1 0 9
asked 07 September, 2021
51 votes
4 answers
1K views
How can one see content of stack with GDB?

I am new to GDB, so I have some questions: How can I look at content of the stack? Example: to see content of

avatar
Benton
0 1 0 9
asked 07 September, 2021
65 votes
4 answers
1.7K views
Why does Windows64 use a different calling convention from all other OSes on x86-64?

AMD has an ABI specification that describes the calling convention to use on x86-64. All OSes follow it, excep

avatar
Rufus
0 1 0 9
asked 07 September, 2021
55 votes
5 answers
2.9K views
What is the function of the push / pop instructions used on registers in x86 assembly?

When reading about assembler I often come across people writing that they push a certain register of the proce

avatar
Kisha
0 1 0 9
asked 07 September, 2021
61 votes
8 answers
2.3K views
`testl` eax against eax?

I am trying to understand some assembly. The assembly as follows, I am interested in the testl line: 000319d

avatar
Winford
0 1 0 9
asked 07 September, 2021
50 votes
4 answers
831 views
What are CFI directives in Gnu Assembler (GAS) used for?

There seem to be a .CFI directive after every line and also there are wide varities of these ex.,.cfi_startpro

avatar
Royal
0 1 0 9
asked 07 September, 2021
57 votes
15 answers
1.1K views
Quickly find whether a value is present in a C array?

I have an embedded application with a time-critical ISR that needs to iterate through an array of size 256 (pr

avatar
Sydney
0 1 0 9
asked 07 September, 2021
61 votes
10 answers
684 views
How to view the assembly behind the code using Visual C++?

I was reading another question pertaining the efficiency of two lines of code, and the OP said that he looked

avatar
Cortez
0 1 0 9
asked 07 September, 2021
60 votes
3 answers
2.8K views
Possible GCC bug when returning struct from a function

I believe I found a bug in GCC while implementing O'Neill's PCG PRNG. (Initial code on Godbolt'

avatar
Vi
0 1 0 9
asked 07 September, 2021
59 votes
14 answers
2K views
How can I see the assembly code for a C++ program?

How can I see the assembly code for a C++ program? What are the popular tools to do this?

avatar
Vi
0 1 0 9
asked 07 September, 2021
53 votes
1 answers
1K views
What is the best way to set a register to zero in x86 assembly: xor, mov or and?

All the following instructions do the same thing: set %eax to zero. Which way is optimal (requiring fewest mac

avatar
User demo
0 1 0 9
asked 07 September, 2021
49 votes
7 answers
2K views
How does this milw0rm heap spraying exploit work?

I usually do not have difficulty to read JavaScript code but for this one I can’t figure out the logic. The

avatar
Robyn
0 1 0 9
asked 07 September, 2021
63 votes
4 answers
977 views
Why do x86-64 instructions on 32-bit registers zero the upper part of the full 64-bit register?

In the x86-64 Tour of Intel Manuals, I read Perhaps the most surprising fact is that an instruction such a

avatar
Frederick
0 1 0 9
asked 07 September, 2021
52 votes
1 answers
559 views
Why do ARM chips have an instruction with Javascript in the name (FJCVTZS)?

FJCVTZS is "Floating-point Javascript Convert to Signed fixed-point, rounding toward Zero". It is supported i

avatar
Majorie
0 1 0 9
asked 07 September, 2021
63 votes
12 answers
3K views
What is the difference between MOV and LEA?

I would like to know what the difference between these instructions is: MOV AX, [TABLE-ADDR] and LEA AX,

avatar
Juliane
0 1 0 9
asked 07 September, 2021